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


IElementCollection2.QueryItem Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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