ESRI.ArcGIS.ADF.IMS
Type Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > FeatureLayer Class : Type Property




Gets or sets the FeatureType.

Syntax

Visual Basic (Declaration) 
Public Property Type As FeatureType
Visual Basic (Usage)Copy Code
Dim instance As FeatureLayer
Dim value As FeatureType
 
instance.Type = value
 
value = instance.Type
C# 
public FeatureType Type {get; set;}

Remarks

Feature layers contain features of one type: point, line or polygon. This property returns the feature type of the layer. For layers in the ArcIMS map service, the type is retrieved when the MapService is initialized. While the Type property can be set for these layers, any change will have no effect, and will not change the layer type in the map service.

Type is required when adding a new feature layer dynamically to the map. It is not required for selection layers.

See Also

© 2010 All Rights Reserved.