ESRI.ArcGIS.ADF.IMS
FeatureLayer Constructor(FeatureLayer)
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > FeatureLayer Class > FeatureLayer Constructor : FeatureLayer Constructor(FeatureLayer)




fromLayer
FeatureLayer from which to copy fields.
Constructs a FeatureLayer object from another FeatureLayer.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal fromLayer As FeatureLayer _
)
Visual Basic (Usage)Copy Code
Dim fromLayer As FeatureLayer
 
Dim instance As New FeatureLayer(fromLayer)
C# 
public FeatureLayer( 
   FeatureLayer fromLayer
)

Parameters

fromLayer
FeatureLayer from which to copy fields.

Remarks

This copies an existing FeatureLayer, including any renderer, filter and buffer. To copy a layer with no renderer or selection, see FeatureLayer(string, LayerIDDataset).

If you want to select and highlight features from an existing layer, you may find one of the CreateSelectionLayer methods more convenient.

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.