noname7777
Array as Public Property; Need to Set Value at Index
I come from C/Lua/VBA background, very new to C# or anything like it.
Using .NET 9 and Onvif.core with VScodium/Omnisharp on Windows.
Onvif.core has this class:
CapabilityCategory
is an enum:
I am trying to set the value of Category[0]
to CapabilityCategory.ALL
This:
Gives me some errors:
My normal approach of shotgunning different syntax has yielded nothing useful.
Tutorials point/W3 Schools and Microsoft documentation have also proven unhelpful.
The library documentation is non-existent, and the ONVIF Application programmer's guide is far too general in this case.
If more information is required I will be happy to provide it.
Thanks,34 replies