ArcObjects Library Reference (GeoDatabase)  

IEnumGeometryBind.BindGeometrySource Method

Bind the source of the geometry to the enumeration.

[Visual Basic .NET]
Public Sub BindGeometrySource ( _
    ByVal OutputFilter As IQueryFilter, _
    ByVal collectionSource As Object _
)
[C#]
public void BindGeometrySource (
    IQueryFilter OutputFilter,
    object collectionSource
);
[C++]
HRESULT BindGeometrySource(
  IQueryFilter* OutputFilter,
  LPUNKNOWN collectionSource
);
[C++]

Parameters

OutputFilter

  OutputFilter is a parameter of type IQueryFilter

collectionSource [in]   collectionSource is a parameter of type LPUNKNOWN

Product Availability

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

Description

This method binds the enumerator to a geometry source (a feature class or a selection set). After this method has been invoked on an object, the object can be cast to the IEnumGeometry interface in order to iterate through the geometries of the source.

Remarks

A query filter should always be provided to the OutputFilter parameter. Passing a null value will not result in an error, but when using this interface the only field that can be inspected from returned features is the geometry field, and the query filter should reflect this.

See Also

IEnumGeometryBind Interface

.NET Related Topics

Geodatabase |