ITcTypeInstance

Expanded by: ITcTypeInstance2

ITcTypeInstance is the basic interface for data type and temporary type instances. It encapsulates XML serialization, name, and GUID access. For temporary type instances, only a subset of this functionality is available.

Properties

Property

Type

get/set

Description

BaseType

ITcTypeInstance**

get

Base type of the instance; functionality currently unavailable.

Guid

GUID*

get

Returns the GUID of the data type.

IecDeclaration

BSTR*

get

Returns the IEC declaration of the type for the current target.

Name

BSTR*

get

Returns the short name of the type without the namespace.

Methods

Method

Description

ExportXml

Serializes the type as XML and, optionally, recursively exports dependent data types as well.

ImportXml

Imports the type from XML or from the most recent DataType within a DataTypes container.