ArcGIS Explorer Component Help |
Folder Constructor (String, IEnumerable<(Of <(MapItem>)>)) |
Folder Class See Also |
Initializes a new instance of the Folder class with the specified name, containing the specified MapItems.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public Folder( string name, IEnumerable<MapItem> childItems ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ name As String, _ childItems As IEnumerable(Of MapItem) _ ) |
Parameters
- name
- Type: System..::.String
The name of the new Folder; appears in the ArcGIS Explorer contents window when the Folder is added to the Map.
- childItems
- Type: System.Collections.Generic..::.IEnumerable<(Of <(MapItem>)>)
An IEnumerable collection of MapItems to add as descendants of the Folder.
Remarks
Use this overload to create a new Folder if you know at instantiation the name, and MapItems which the Folder should contain.