ESRI.ArcGIS.ADF.IMS
Type Property
See Also  Send Feedback
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.