ArcObjects Library Reference (Carto)  

IBarrierProperties2.QueryBarriers Method

List of barriers within the specified extent, or all barriers if no extent given.

[Visual Basic .NET]
Public Sub QueryBarriers ( _
    ByVal Display As IDisplay, _
    ByVal pBarriers As IGeometryCollection, _
    ByVal Extent As IEnvelope, _
    ByVal TrackCancel As ITrackCancel _
)
[C#]
public void QueryBarriers (
    IDisplay Display,
    IGeometryCollection pBarriers,
    IEnvelope Extent,
    ITrackCancel TrackCancel
);
[C++]
HRESULT QueryBarriers(
  IDisplay* Display,
  IGeometryCollection* pBarriers,
  IEnvelope* Extent,
  ITrackCancel* TrackCancel
);
[C++]

Parameters

Display [in]

  Display is a parameter of type IDisplay

pBarriers [in]

  pBarriers is a parameter of type IGeometryCollection

Extent [in]

  Extent is a parameter of type IEnvelope

TrackCancel [in]

  TrackCancel is a parameter of type ITrackCancel

Product Availability

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

See Also

IBarrierProperties2 Interface