Gets the default layer format.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Shared Function GetDefault( _
ByVal fields As ESRI.ArcGIS.ADF.Web.DataSources.FieldInfoCollection, _
ByVal featureType As ESRI.ArcGIS.ADF.Web.FeatureType _
) As LayerFormat |
Visual Basic (Usage) | Copy Code |
---|
Dim fields As ESRI.ArcGIS.ADF.Web.DataSources.FieldInfoCollection
Dim featureType As ESRI.ArcGIS.ADF.Web.FeatureType
Dim value As LayerFormat
value = LayerFormat.GetDefault(fields, featureType) |
C# | |
---|
public static LayerFormat GetDefault(
ESRI.ArcGIS.ADF.Web.DataSources.FieldInfoCollection fields,
ESRI.ArcGIS.ADF.Web.FeatureType featureType
) |
Parameters
- fields
- The fields in the layer
- featureType
- The feature type to get default for.
Return Value
The default layer format
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