ILITTag::AddAttribute

The AddAttribute method adds an attribute to a new tag.

Syntax

HRESULT AddAttribute(
[in, size_is(cwchName)] const wchar_t* pwchName
[in] ULONG cwchName
[in, size_is(cwchValue)] const wchar_t* pwchValue
[in] ULONG cwchValue
);

Parameters

pwchName

Pointer to an attribute name

cwchName

Count of characters at pwchName that are part of the attribute name

pwchValue

Pointer to an attribute value

cwchValue

Count of characters at pwchValue that are part of the attribute value

Return Values

S_OK

E_INVALIDARG

E_OUTOFMEMORY

E_FAIL

See Also

© 2000 Microsoft Corporation. All rights reserved. Terms of use.