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

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

IAnnotateLayerPropertiesCollection.QueryItem Method

Returns the item in the collection at the specified index.

[Visual Basic .NET]
Public Sub QueryItem ( _
    ByVal Index As Integer, _
    ByRef Item As IAnnotateLayerProperties, _
    [ByRef placedElements As IElementCollection], _
    [ByRef unplacedElements As IElementCollection] _
public void QueryItem (
    int Index,
    ref IAnnotateLayerProperties Item,
    ref IElementCollection placedElements,
    ref IElementCollection unplacedElements
HRESULT QueryItem(
  long Index,
  IAnnotateLayerProperties** Item,
  IElementCollection** placedElements,
  IElementCollection** unplacedElements
Index [in]

Index is a parameter of type long Item [out]
Item is a parameter of type IAnnotateLayerProperties** placedElements
placedElements is a parameter of type IElementCollection** unplacedElements
unplacedElements is a parameter of type IElementCollection**

Product Availability

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


QueryItem returns the specified item from the collection.

See Also

IAnnotateLayerPropertiesCollection Interface