ArcObjects Library Reference (Carto)  

IElementCollection.QueryItem Method

Element at the given index.

[Visual Basic .NET]
Public Sub QueryItem ( _
    ByVal Index As Integer, _
    ByRef Element As IElement, _
    [ByRef LinkedFeatureID As Integer] _
)
[C#]
public void QueryItem (
    int Index,
    ref IElement Element,
    ref int LinkedFeatureID
);
[C++]
HRESULT QueryItem(
  long Index,
  IElement** Element,
  long* LinkedFeatureID
);
[C++]

Parameters

Index [in]   Index is a parameter of type long Element [out]

  Element is a parameter of type IElement

LinkedFeatureID   LinkedFeatureID is a parameter of type long

Product Availability

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

Description

Passes out the element at the specified index.  Will also pass out the feature ID for feature-linked elements if the FeatureID parameter is used.

See Also

IElementCollection Interface