Field Class
Represents a field of an Struct/Alias/Union
Inheritance Hierarchy
System.Object
TwinCAT.Ads.TypeSystem.Instance
TwinCAT.Ads.TypeSystem.Field
TwinCAT.Ads.TypeSystem.Member
Namespace: TwinCAT.Ads.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public class Field : Instance, IField,
IAttributedInstance, IInstance, IBitSize
VB
Public Class Field
Inherits Instance
Implements IField, IAttributedInstance, IInstance, IBitSize
The Field type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Gets the Type Attributes. (Inherited from Instance.) | |
|
Gets the size of this Instance in bits. (Inherited from Instance.) | |
|
Gets the (aligned) size of of the Type/Instance in Bytes (Inherited from Instance.) | |
|
Gets the the DataTypeCategory of the Instance. (Inherited from Instance.) | |
|
Gets the comment. (Inherited from Instance.) | |
|
Gets the context mask of this instance. (Inherited from Instance.) | |
|
Gets the IDataType of the IInstance. (Inherited from Instance.) | |
|
Gets a value indicating whether this instance has a value. (Inherited from Instance.) | |
|
Gets the name of the instance (without periods (.) (Inherited from Instance.) | |
|
Gets the relative / absolute access path to the instance (with periods (.)) (Inherited from Instance.) | |
|
Gets a value indicating whether this instance is not basing on a full DataType but instead of some sort of bit mapping (Inherited from Instance.) | |
|
Indicates that the Size of the Object is Byte aligned (BitSize % 8 == 0) (Inherited from Instance.) | |
|
Indicates if this instance is persistent. (Inherited from Instance.) | |
|
Gets a value indicating whether this instance is reference. (Inherited from Instance.) | |
|
Indicates if this instance is read only. (Inherited from Instance.) | |
|
Gets a value indicating whether this instance is reference. (Inherited from Instance.) | |
|
Gets a value indicating whether this IInstance is static. (Inherited from Instance.) | |
|
Indicates if this instance is a TcComInterfacePointer. (Inherited from Instance.) | |
|
Indicates if this instance has set TypeGuid flag. (Inherited from Instance.) | |
|
Gets the namespace name. (Inherited from Instance.) | |
|
Gets the Parent of this IField. | |
|
Gets the size of the IDataType in bytes or Bits dependant on IsBitType (Inherited from Instance.) | |
|
Gets the name of the DataType that is used for this IInstance. (Inherited from Instance.) |
Methods
|
Name |
Description |
---|---|---|
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Handler function getting the size of the Instance (Inherited from Instance.) | |
|
Sets a new InstanceName InstancePath (Inherited from Instance.) | |
|
Sets the context mask. (Inherited from Instance.) | |
|
Returns a String that represents this instance. (Inherited from Instance.) |