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


IElementCollection2.QueryItem Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElementCollection2 Interface > IElementCollection2.QueryItem Method
ArcGIS Developer Help

IElementCollection2.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], _
    [ByRef AnnotationClassID As Integer], _
    [ByRef Status As esriAnnotationStatus] _
)
[C#]
public void QueryItem (
    int Index,
    ref IElement Element,
    ref int LinkedFeatureID,
    ref int AnnotationClassID,
    ref esriAnnotationStatus Status
);
[C++]
HRESULT QueryItem(
  long Index,
  IElement** Element,
  System.Int32* LinkedFeatureID,
  System.Int32* AnnotationClassID,
  esriAnnotationStatus* Status
);
[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* AnnotationClassID
AnnotationClassID is a parameter of type long* Status
Status is a parameter of type esriAnnotationStatus*

Product Availability

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

See Also

IElementCollection2 Interface