Item property
- Last UpdatedJul 22, 2024
- 1 minute read
Return the attribute object by name or index.
Class
IAttributes
Syntax
[C#]
IAttribute this[object attributeIdentifier] { get; };
[Visual C++]
HRESULT Item(
[in] VARIANT attributeIdentifier,
[out, retval] IAttribute**
);
Parameters
attributeIdentifier
The name of the attribute object to return if a string is specified. If a number is specified, it is interpreted as the index into this collection and is in the range from 1 to count.
IAttribute
The returned attribute object or nothing if attribute doesn't exist.