ArcObjects Library Reference (Carto)  

IBarrierProperties.Barriers Property

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

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

Parameters

Display [in]

  Display is a parameter of type IDisplay

pBarriers [in]

  pBarriers is a parameter of type IGeometryCollection

Extent [in, optional, defaultvalue(0)]

  Extent is a parameter of type IEnvelope

Product Availability

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

See Also

IBarrierProperties Interface