ESRI.ArcGIS.E2API Feedback via the User Forum
Feature Class
See Also  Members   Example 
ESRI.ArcGIS.E2API Namespace : Feature Class


This class represents a spatial object, which has an associated shape and attribute information.

Object Model



Syntax

Visual Basic (Declaration) 
<ComVisibleAttribute(False)>
Public NotInheritable Class Feature 
Visual Basic (Usage)Copy Code
Dim instance As Feature
C# 
[ComVisibleAttribute(false)]
public sealed class Feature 

Example

An example of accessing the first feature returned from a query on a LocalVectorLayer.
C#Copy Code
ESRI.ArcGIS.E2API.FeatureSet MyFeatureSet = MyLocalVectorLayer.QueryFeatures(null, 
                                             string.Empty,esriE2SpatialRelationship.Undefined); 
 
ESRI.ArcGIS.E2API.Feature MyFeature = MyFeatureSet.GetFeature(0);
Visual BasicCopy Code
Dim MyFeatureSet As ESRI.ArcGIS.E2API.FeatureSet = MyLocalVectorLayer.QueryFeatures(Nothing, _
                                                    String.Empty,esriE2SpatialRelationship.Undefined)

Dim MyFeature As ESRI.ArcGIS.E2API.Feature = MyFeatureSet.GetFeature(0)

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.E2API.Feature

Platforms

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

Version Information

This class was added to the E2API at version 1.0.0.348.

See Also