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 |
|
Error codes
E_POINTER:pipTypeisNULL.ADS_E_ERROR: The XML is unreadable or contains a node that is not supported.