UnionInstance Class
Class representing a Union Instance
Inheritance Hierarchy
System.Object
TwinCAT.Ads.TypeSystem.Instance
TwinCAT.Ads.TypeSystem.Symbol
TwinCAT.Ads.TypeSystem.UnionInstance
Namespace: TwinCAT.Ads.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public sealed class UnionInstance : Symbol,
IUnionInstance, ISymbol, IAttributedInstance, IInstance, IBitSize
The UnionInstance type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Gets the access rights. (Inherited from Symbol.) | |
|
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 connection that produces values for this IValueSymbol (Inherited from Symbol.) | |
|
Gets the context mask of this instance. (Inherited from Instance.) | |
|
Gets the IDataType of the IInstance. (Inherited from Instance.) | |
|
Gets the member instances of the Struct Instance. | |
|
Gets a value indicating whether this instance has a value. (Inherited from Instance.) | |
|
Gets the AmsAddress of the Process Image (Inherited from Symbol.) | |
|
Gets the index group of the Symbol (Inherited from Symbol.) | |
|
Gets the index offset of the Symbol (Inherited from Symbol.) | |
|
Gets the name of the instance (without periods (.) (Inherited from Instance.) | |
|
Gets the relative / absolute access path to the instance (with periods (.)) (Inherited from Symbol.) | |
|
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.) | |
|
Gets a value indicating whether this Symbol is a container/complex type. (Overrides Symbol.IsContainerType.) | |
|
Gets or sets a value indicating whether an ancestor is a dereferenced Pointer (Inherited from Symbol.) | |
|
Gets or sets a value indicating whether an ancestor is a dereferenced Reference (Inherited from Symbol.) | |
|
Indicates that this instance is persistent. (Inherited from Instance.) | |
|
Gets a value indicating whether this instance is reference. (Inherited from Instance.) | |
|
Gets a value indicating whether this instance is primitive. (Overrides Symbol.IsPrimitiveType.) | |
|
Indicates that this instance is read only. (Inherited from Instance.) | |
|
Gets a value indicating whether this instance is recursive. (Inherited from Symbol.) | |
|
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 that this instance is a TcComInterfacePointer. (Inherited from Instance.) | |
|
Indicates that this instance has set TypeGuid flag. (Inherited from Instance.) | |
|
Gets a value indicating whether this instance is virtual. (Inherited from Symbol.) | |
|
Gets the namespace name. (Inherited from Instance.) | |
|
Gets or sets the notification settings. (Inherited from Symbol.) | |
|
Gets the parent Symbol (Inherited from Symbol.) | |
|
Gets the size of the IDataType in bytes or Bits dependant on IsBitType (Inherited from Instance.) | |
|
Gets the number of SubSymbols (Inherited from Symbol.) | |
| ||
|
Gets the name of the DataType that is used for this IInstance. (Inherited from Instance.) | |
|
Gets the value encoding. (Inherited from Symbol.) |
Methods
|
Name |
Description |
---|---|---|
|
Equalses the specified inst. (Inherited from Symbol.) | |
|
Equals (Inherited from Symbol.) | |
|
Equalses the specified inst. (Inherited from Symbol.) | |
|
Gets the HashCode of the Address (Inherited from Symbol.) | |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
Reads the value of this Value into a new created instance of the managed type (Inherited from Symbol.) | |
|
Reads the value of this Value into a new created instance of the managed type (Inherited from Symbol.) | |
|
Reads the value of this Value into a new created instance of the managed type (Inherited from Symbol.) | |
|
Reads the value of this Value into a new created instance of the managed type (Inherited from Symbol.) | |
|
Reads the (AnyType) value asynchronously. (Inherited from Symbol.) | |
|
Read any value as an asynchronous operation. (Inherited from Symbol.) | |
|
Reads the raw value of the IValueSymbol (Ads Read / Write) (Inherited from Symbol.) | |
|
Reads the raw value of the IValueSymbol (Ads Read / Write) (Inherited from Symbol.) | |
|
Reads the raw value of the IValueSymbol (Ads Read / Write) asynchronously. (Inherited from Symbol.) | |
|
Reads the Value of the IValueSymbol (Inherited from Symbol.) | |
|
Reads the Value of the IValueSymbol (Inherited from Symbol.) | |
|
Reads the Value of the IValueSymbol asynchronously. (Inherited from Symbol.) | |
|
Sets the parent symbol. (Inherited from Symbol.) | |
|
Returns a String that represents this instance. (Inherited from Symbol.) | |
|
Reads the Value of the IValueSymbol (Inherited from Symbol.) | |
|
Writes the Value of the IValueSymbol (Inherited from Symbol.) | |
|
Reads the value of this Value into the specified managed value. (Inherited from Symbol.) | |
|
Reads the value of this Value into the specified managed value. (Inherited from Symbol.) | |
|
Writes the raw value of the IValueSymbol (Ads Read / Write) (Inherited from Symbol.) | |
|
Writes the raw value of the IValueSymbol (Ads Read / Write) (Inherited from Symbol.) | |
|
Writes the raw value of the IValueSymbol (Ads Read / Write) (Inherited from Symbol.) | |
|
Writes the Value of the IValueSymbol (Inherited from Symbol.) | |
|
Writes the Value of the IValueSymbol (Inherited from Symbol.) | |
|
Writes the Value of the IValueSymbol (Inherited from Symbol.) |
Events
|
Name |
Description |
---|---|---|
|
Occurs when the RawValue of the IValueSymbol has changed. (Inherited from Symbol.) | |
|
Occurs when the (Primitive) value of the IValueSymbol has changed. (Inherited from Symbol.) |
Extension Methods
|
Name |
Description |
---|---|---|
|
Indicates, that the Instance value includes process memory data, that cannot be read in one memory block. (Defined by DataTypeExtension.) |