ISettingsItem::GetListKeyInformation method (wcmconfig.h)

Gets the list information for this item.

Syntax

HRESULT GetListKeyInformation(
  [out] BSTR        *KeyName,
  [out] WcmDataType *DataType
);

Parameters

[out] KeyName

The name of the key.

[out] DataType

A WcmDataType value that indicates the data type of the item.

Return value

This method can return one of these values.

Return code Description
S_OK
Indicates success.
S_FALSE
Indicates that the list is keyed by keyValue, and KeyName is NULL.
HRESULT_FROM_WIN32(ERROR_INVALID_OPERATION)
Indicates that the item is not a list or list element.
E_OUTOFMEMORY
Indicates that there are insufficient resources to complete the operation.

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

ISettingsItem