This does what I need...
oleutil.ForEach()

On Sunday, February 10, 2019 at 2:09:39 PM UTC-7, Curtis Paul wrote:
>
> Any ideas on how I can get a list of fields (not values) after executing 
> something like this?
>
> resultRaw, _ := oleutil.CallMethod(service, "ExecQuery", "SELECT * FROM 
> Win32_ComputerSystem")
> result := resultRaw.ToIDispatch()
> defer result.Release()
>
> Basically I just want a list of the field names from the results of the 
> Win32_ComputerSystem query.
> I don't want the values...I want the possible field names or I guess 
> properties of the results of that query.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to