StringType Properties

The StringType type exposes the following members.

Properties

 

Name

Description

StringType Properties 1:

Attributes

Gets the attributes of the IDataType (Inherited from DataType.)

StringType Properties 2:

BitSize

Gets the size of the DataType in bits. (Inherited from DataType.)

StringType Properties 3:

ByteSize

Gets the (aligned) size of of the Type/Instance in Bytes (Inherited from DataType.)

StringType Properties 4:

Category

Gets the Data Type category (Inherited from DataType.)

StringType Properties 5:

Comment

Gets the comment. (Inherited from DataType.)

StringType Properties 6:

Encoding

Gets the encoding of the String (Encoding.Default (Ansi Codepage, STRING) or Encoding.UNICODE (WSTRING))

StringType Properties 7:

FullName

Gets the full name of the IDataType (Namespace + Name) (Inherited from DataType.)

StringType Properties 8:

Id

Gets the ID of the DataType (Inherited from DataType.)

StringType Properties 9:

IsBitType

Gets a value indicating whether this IDataType is a bit mapping Type (Inherited from DataType.)

StringType Properties 10:

IsByteAligned

Indicates that the Size of the Object is Byte aligned (BitSize % 8 == 0) (Inherited from DataType.)

StringType Properties 11:

IsFixedLength

Gets a value indicating whether the string is of fixed length.

StringType Properties 12:

Length

Gets the number of characters within the string.

StringType Properties 13:

ManagedType

Gets the corresponding .NET Type if attached. (Inherited from DataType.)

StringType Properties 14:

Name

Gets the name of the Data Type (without namespace) (Inherited from DataType.)

StringType Properties 15:

Namespace

Gets the namespace string within the IDataType exists. (Inherited from DataType.)

StringType Properties 16:

Size

Gets the Size of the DataType in Bytes or bits. (Inherited from DataType.)

StringType Properties 17:

TypeGuid

Gets the Guid of the DataType (optional) (Inherited from DataType.)

Reference

StringType Class

TwinCAT.Ads.TypeSystem Namespace