ISettingsNamespace::GetAttribute method (wcmconfig.h)

Gets the value of an attribute of the namespace.

Syntax

HRESULT GetAttribute(
  [in]  const WCHAR *Name,
  [out] VARIANT     *Value
);

Parameters

[in] Name

The name of the attribute.

[out] Value

The value of the attribute.

Return value

This method can return one of these values.

Return code Description
S_OK
Indicates success.
WCM_E_ATTRIBUTENOTFOUND
Indicates that the requested attribute is not specified for the item.
E_OUTOFMEMORY
Indicates that there are insufficient resources to return information to the user.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wcmconfig.h
DLL SMIEngine.dll

See also

ISettingsNamespace