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


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

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