ESRI.ArcGIS.ADF.Web.UI.WebControls
GetDefault(FieldInfoCollection,FeatureType) Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > LayerFormat Class > GetDefault Method : GetDefault(FieldInfoCollection,FeatureType) Method




fields
The fields in the layer
featureType
The feature type to get default for.
Gets the default layer format.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetDefault( _
   ByVal fields As FieldInfoCollection, _
   ByVal featureType As FeatureType _
) As LayerFormat
Visual Basic (Usage)Copy Code
Dim fields As FieldInfoCollection
Dim featureType As FeatureType
Dim value As LayerFormat
 
value = LayerFormat.GetDefault(fields, featureType)
C# 
public static LayerFormat GetDefault( 
   FieldInfoCollection fields,
   FeatureType featureType
)

Parameters

fields
The fields in the layer
featureType
The feature type to get default for.

Return Value

The default layer format

See Also

© 2010 All Rights Reserved.