ICreateTypeInfo2::SetName method (oaidl.h)

Sets the name of the typeinfo.

Syntax

HRESULT SetName(
  [in] LPOLESTR szName
);

Parameters

[in] szName

The name to be assigned.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
One or more of the arguments is not valid.
E_OUTOFMEMORY
Insufficient memory to complete the operation.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ICreateTypeInfo2