This document is archived and information here might be outdated.  Recommended version.


IARFeatureSet.ARFeature Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (PublisherControls)  

IARFeatureSet.ARFeature Property

The feature at the specified index.

[Visual Basic .NET]
Public Function get_ARFeature ( _
    ByVal index As Integer _
) As ARFeature
[C#]
public ARFeature get_ARFeature (
    int index
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Returns the ARFeature at the specified index in the ARFeatureSet's feature collection.

Errors Returned

2121 800A0849: specified index is invalid 

Remarks

Use a zero-based index to access an ARFeature. For example, to get the first ARFeature in the ARFeatureSet pass an index of 0, and to get the last ARFeature in the ARFeatureSet, pass an index of (ARFeatureCount - 1).

[C#]

In C# use the get_ARFeature method, as indexed property accessors are not supported.

See Also

IARFeatureSet Interface