IFeatures80

A list of IFeature80 items. This interface is returned by a number of properties and methods, including: IFeatureLayer80. ExecuteQuery, IFeatureGroup80.GetCurrentFeatures and I3DMLFeatureLayer80.ExecuteSpatialQuery.

 

 

Properties

 

Count

Gets the number of IFeature80 items in the list.

Item

Gets the IFeature80 element in the specified zero-based index.

 

Method

 

GetFeatureByDataSourceFeatureID

Returns a feature based on the ID that was assigned by the data source.

GetFeatureByObjectID

Returns a feature based on object ID.

Count

Gets the number of IFeature80 items in the list. Use the IDataSourceInfo80 RecordsCount property to return a full number of records in the layer.

 

JavaScript

 

Count

 

C#

 

int Count { get; }

 

C++

 

HRESULT Count([out, retval] long* pVal)

 

Item

Gets the IFeature80 element in the specified zero-based index.  

To access a specific element use the following syntax: IFeatures80(index).

C# exposes this property as an indexer accessed using the following syntax: IFeatures80[index].

 

JavaScript

 

Item(

       Index)

 

C#

 

dynamic this[object Index] { get; }

 

C++

 

HRESULT Item(

       [in] VARIANT Index,

       [out, retval] VARIANT* pVal)

 

GetFeatureByDataSourceFeatureID

Returns a feature based on the ID of the feature that was assigned by the data source. This is the ID that the data source itself uses, rather than the ID that TerraExplorer has assigned.

 

JavaScript

 

GetFeatureByDataSourceFeatureID(

       DataSourceFeatureID)

 

C#

 

IFeature80 GetFeatureByDataSourceFeatureID (

       string DataSourceFeatureID)

 

C++

 

HRESULT GetFeatureByDataSourceFeatureID (

       [in] BSTR DataSourceFeatureID,

       [out, retval]IFeature80** pVal)

Parameters

DataSourceFeatureID

The ID of the feature that was assigned by the data source. This is the ID that the data source itself uses, rather than the ID that TerraExplorer has assigned.

Return Value

pVal

An IFeature80 representing the feature with a specified data source feature ID.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.

GetFeatureByObjectID

Returns a feature based on its (TerraExplorer-assigned) object ID.

 

JavaScript

 

GetFeatureByObjectID(

       ObjectID)

 

C#

 

IFeature80 GetFeatureByObjectID(

       string ObjectID)

 

C++

 

HRESULT GetFeatureByObjectID (

       [in] BSTR ObjectID,

       [out, retval] IFeature80** pVal)

Parameters

ObjectID

The TerraExplorer-assigned ID of the feature requested.

Return Value

pVal

An IFeature80 representing the object with a specified object ID.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.