Instance Class
Instance implementation
Inheritance Hierarchy
SystemObject
TwinCAT.Ads.TypeSystemInstance
TwinCAT.Ads.TypeSystemField
TwinCAT.Ads.TypeSystemSymbol
Namespace: TwinCAT.Ads.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class Instance : IInstance, IBitSizeThe Instance type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the Type Attributes. | |
|
|
Gets the size of this Instance in bits. | |
|
|
Gets the (aligned) size of of the Type/Instance in Bytes | |
|
|
Gets the the DataTypeCategory of the Instance. | |
|
|
Gets the comment. | |
|
|
Gets the context mask of this instance. | |
|
| ||
|
|
Gets a value indicating whether this instance has a value. | |
|
|
Gets the name of the instance (without periods (.) | |
|
|
Gets the relative / absolute access path to the instance (with periods (.)) | |
|
|
Gets a value indicating whether this instance is not basing on a full DataType but instead of some sort of bit mapping | |
|
|
Indicates that the Size of the Object is Byte aligned (BitSize % 8 == 0) | |
|
|
Indicates that this instance is persistent. | |
|
|
Gets a value indicating whether this instance is reference. | |
|
|
Gets a value indicating whether IInstance is a property. | |
|
|
Indicates that this instance is read only. | |
|
|
Gets a value indicating whether this instance is reference. | |
|
|
Gets a value indicating whether this IInstance is static. | |
|
|
Indicates that this instance is a TcComInterfacePointer. | |
|
|
Indicates that this instance has set TypeGuid flag. | |
|
|
Gets the namespace name. | |
|
|
Gets the size of the IDataType in bytes or Bits dependant on IsBitType | |
|
|
Gets the name of the DataType that is used for this IInstance. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Aligns the type name | |
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Handler function getting the size of the Instance | |
|
|
Sets a new InstanceName InstancePath | |
|
|
Sets the type attributes | |
|
|
Sets the context mask. | |
|
|
Returns a String that represents this
instance. |
Extension Methods
|
|
Name |
Description |
|---|---|---|
|
|
Indicates, that the Instance value includes process memory
data, that cannot be read in one memory block. | |
|
|
Indicates, that the field is static or is not part of the
parents processimage memory location |
- Instance.Attributes Property
- Instance.BitSize Property
- Instance.ByteSize Property
- Instance.Category Property
- Instance.Comment Property
- Instance.ContextMask Property
- Instance.DataType Property
- Instance.HasValue Property
- Instance.InstanceName Property
- Instance.InstancePath Property
- Instance.IsBitType Property
- Instance.IsByteAligned Property
- Instance.IsPersistent Property
- Instance.IsPointer Property
- Instance.IsReadOnly Property
- Instance.IsReference Property
- Instance.IsStatic Property
- Instance.IsTcComInterfacePointer Property
- Instance.IsTypeGuid Property
- Instance.Namespace Property
- Instance.Size Property
- Instance.TypeName Property
- Instance.AlignTypeName Method
- Instance.OnGetSize Method
- Instance.OnSetInstanceName Method
- Instance.SetAttributes Method
- Instance.SetContextMask Method
- Instance.ToString Method