IFeatures81
A list of IFeature81 items. This interface is returned by a number of properties and methods, including: IFeatureLayer81. ExecuteQuery, IFeatureGroup81.GetCurrentFeatures and I3DMLFeatureLayer81.ExecuteSpatialQuery.
|
Properties |
|
|
Gets the number of IFeature81 items in the list. |
|
|
Gets the IFeature81 element in the specified zero-based index. |
|
|
Method |
|
|
Returns a feature based on the ID that was assigned by the data source. |
|
|
Returns a feature based on object ID. |
Count
Gets the number of IFeature81 items in the list. Use the IDataSourceInfo81 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 IFeature81 element in the specified zero-based index.
To access a specific element use the following syntax: IFeatures81(index).
C# exposes this property as an indexer accessed using the following syntax: IFeatures81[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# |
|
IFeature81 GetFeatureByDataSourceFeatureID ( string DataSourceFeatureID) |
C++ |
|
HRESULT GetFeatureByDataSourceFeatureID ( [in] BSTR DataSourceFeatureID, [out, retval]IFeature81** 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 IFeature81 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# |
|
IFeature81 GetFeatureByObjectID( string ObjectID) |
C++ |
|
HRESULT GetFeatureByObjectID ( [in] BSTR ObjectID, [out, retval] IFeature81** pVal) |
Parameters
ObjectID
The TerraExplorer-assigned ID of the feature requested.
Return Value
pVal
An IFeature81 representing the object with a specified object ID.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.