IFeatureAttributes80
This interface gives the client access to all of a feature’s attributes.
|
Properties |
|
|
Gets the number of attributes the feature has. |
|
|
Gets the IFeatureAttribute80 element in the specified zero-based index. |
|
|
Methods |
|
|
Returns an interface to a specific attribute. |
Count
Gets the number of attributes the feature has.
JavaScript |
|
Count |
C# |
|
int Count { get; } |
C++ |
|
HRESULT Count([out, retval] long* pVal) |
Item
Gets the IFeatureAttribute80 element in the specified zero-based index. To access a specific element use the following syntax: IFeatureAttributes80(index).
C# exposes this property as an indexer accessed using the following syntax: IFeatureAttributes80[index].
JavaScript |
|
Item( Index) |
C# |
|
dynamic this[object Index] { get; } |
C++ |
|
HRESULT Item( [in] VARIANT Index, [out, retval] VARIANT* pVal) |
GetFeatureAttribute
Returns an interface to a specific attribute, according to the attribute name.
JavaScript |
|
GetFeatureAttribute( attributeNameStr) |
C# |
|
IFeatureAttribute80 GetFeatureAttribute( string attributeNameStr) |
C++ |
|
HRESULT GetFeatureAttribute( BSTR attributeNameStr, IFeatureAttribute80** pVal) |
Parameters
attributeNameStr
The attribute name.
Return Value
pVal
An IFeatureAttribute80 representing a feature’s attribute.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.