IFeatureLayerDefinition2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureLayerDefinition2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IFeatureLayerDefinition2 Interface

Provides additional access to members that define a subset of the features from the underlying feature class.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method CreateSelectionLayer Creates a new feature layer from the existing layer based on the current selection and the specified query expression.
Read/write property DefinitionExpression Definition query expression for the existing layer.
Read-only property DefinitionSelectionSet The selection set that defines the subset of features in a selection layer.
Read/write property RelationshipClass The current relationship class used to display related fields.
Read/write property SearchOrder Flag that specifies the search order used when applying a mixed attribute-spatial query.

CoClasses that implement IFeatureLayerDefinition2

CoClasses and Classes Description
CadAnnotationLayer An Esri Cad annotation layer.
CadastralFabricSubLayer Cadastral Fabric Feature Layer Object.
CadFeatureLayer Esri CAD Feature Layer class.
CoverageAnnotationLayer An Esri coverage annotation layer.
DimensionLayer A collection of properties for a dimension layer.
FDOGraphicsLayer A collection of properties for an annotation layer (feature data object graphics layer).
FeatureLayer A collection of features and their visual representation.
GdbRasterCatalogLayer Geodabase RasterCatalog source and display options.

Remarks

In addition to providing access to all of the methods and properties of IFeatureLayerDefinition, this interface has a property that specifies the query order when accessing features from the database. Use SearchOrder to specify whether to query first by spatial extent or attribute. In the ArcGIS implementation, this only applies when the layer data source is in an ArcSDE geodatabase.