ITcTypeInstance::ImportXml
Imports type information from XML. Either a single DataType element or a DataTypes container is accepted; in the latter case, the last DataType entry is used.
Signature
HRESULT ImportXml(BSTR bstrXML);
Parameter
Name | Type | Description |
|---|---|---|
bstrXML | BSTR | [in] XML using |
Return value
Name | Type | Description |
|---|---|---|
(HRESULT) | HRESULT |
|
Error codes
E_FAIL: The XML could not be parsed or does not contain a validDataType.