Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- layers
- Array of layers to be members of the dictionary.
- visibilityPolicy
- The visibility policy that determines the visibility of content with respect to the ON/OFF state of the layers listed in the dictionary.
Return Value
The newly created dictionary object, or Null if no layers are supplied.
To add a layer to the existing dictionary, get the current layers list, modify it, then create a
new dictionary with the new list of layers.