ISdoDictionaryOld::CreateAttribute method (sdoias.h)

The CreateAttribute method creates a new attribute object and returns an IDispatch interface to it.

Syntax

HRESULT CreateAttribute(
  [in]  ATTRIBUTEID Id,
  [out] IDispatch   **ppAttributeObject
);

Parameters

[in] Id

Specifies a value from the enumeration type ATTRIBUTEID. This value specifies the type of attribute to create.

[out] ppAttributeObject

Pointer to a pointer to an IDispatch interface pointer for the created attribute object.

Return value

If the method succeeds the return value is S_OK.

If the method fails, the return value is one of the following error codes.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header sdoias.h
DLL Iassdo.dll

See also

ATTRIBUTEID

ISdoDictionaryOld