Public Member Functions | |
HRESULT | _NewEnum ([out, retval] IUnknown **ppEnum) |
Enumerator for attribute objects. | |
HRESULT | Item ([in] VARIANT *pvaIndex,[out, retval] VARIANT *pvaItem) |
Return item. | |
HRESULT | AddAttribute ([in] BSTR name,[in] BSTR value,[out, retval] tcomIAttribute **ppAttribute) |
Add attribute. | |
HRESULT | RemoveAttribute ([in] BSTR name) |
Delete attribute. | |
Properties | |
VARIANT | Count [get] |
Return number of attributes. | |
VARIANT | Values [get] |
Values of all attributes. |
Object can be used to get specific attribute or to enumerate all attributes.
HRESULT _NewEnum | ( | [out, retval] IUnknown ** | ppEnum | ) |
Enumerator for attribute objects.
Enumerated object are of type tcomIAttribute
ppEnum | Attribute enumerator |
HRESULT AddAttribute | ( | [in] BSTR | name, | |
[in] BSTR | value, | |||
[out, retval] tcomIAttribute ** | ppAttribute | |||
) |
Add attribute.
Add attribute to the collection
HRESULT Item | ( | [in] VARIANT * | pvaIndex, | |
[out, retval] VARIANT * | pvaItem | |||
) |
Return item.
pvaIndex | Index (0...count-1) or name of the attribute. Index have to be integer, name is string. |
pvaItem | Return attribute. |
HRESULT RemoveAttribute | ( | [in] BSTR | name | ) |
Delete attribute.
Delete attribute from the collection
VARIANT Count [get] |
Return number of attributes.
count | Number of attributes |
VARIANT Values [get] |
Values of all attributes.
Values are stored in two dimensional array.