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


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

IBarrierCollection.QueryItem Method

Returns the item in the collection at the specified index.

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

Parameters Index [in]
Index is a parameter of type long barrier [out]
barrier is a parameter of type IGeometryCollection** Weight
Weight is a parameter of type esriBasicOverposterWeight*

Product Availability

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

See Also

IBarrierCollection Interface