This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElementCollection Interface > IElementCollection.QueryItem Method (ArcObjects .NET 10.5 SDK) |
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
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.