ITcTypeSystem2::CreateTemporaryDataType

Creates an unregistered temporary type instance from XML. The following are supported: TcTemporaryDataType/DataType, TcTemporaryDataType/DataArea, as well as direct DataType or DataArea nodes.

Signature

HRESULT CreateTemporaryDataType(BSTR xml, ITcTypeInstance2** pipType);

Parameter

Name

Type

Description

xml

BSTR

[in] XML with a temporary type or DataArea definition.

Return value

Name

Type

Description

pipType

ITcTypeInstance2**

[out, retval] Temporary type instance.

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes