Member Class

Represents a member of an StructType

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: 6.0.328+39e3229

Syntax

C#

public sealed class Member : Field, 
    IMember, IField, IAttributedInstance, IInstance, IBitSize

The Member type exposes the following members.

Properties

 

Name

Description

Member Class 1:

Attributes

Gets the Type Attributes. (Inherited from Instance.)

Member Class 2:

BitOffset

Gets the bit offset.

Member Class 3:

BitSize

Gets the size of this Instance in bits. (Inherited from Instance.)

Member Class 4:

ByteOffset

Gets the byte offset.

Member Class 5:

ByteSize

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

Member Class 6:

Category

Gets the the DataTypeCategory of the Instance. (Inherited from Instance.)

Member Class 7:

Comment

Gets the comment. (Inherited from Instance.)

Member Class 8:

ContextMask

Gets the context mask of this instance. (Inherited from Instance.)

Member Class 9:

DataType

Gets the IDataType of the IInstance. (Inherited from Instance.)

Member Class 10:

HasValue

Gets a value indicating whether this instance has a value. (Inherited from Instance.)

Member Class 11:

InstanceName

Gets the name of the instance (without periods (.) (Inherited from Instance.)

Member Class 12:

InstancePath

Gets the relative / absolute access path to the instance (with periods (.)) (Inherited from Instance.)

Member Class 13:

IsBitType

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.)

Member Class 14:

IsByteAligned

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

Member Class 15:

IsPersistent

Indicates that this instance is persistent. (Inherited from Instance.)

Member Class 16:

IsPointer

Gets a value indicating whether this instance is reference. (Inherited from Instance.)

Member Class 17:

IsReadOnly

Indicates that this instance is read only. (Inherited from Instance.)

Member Class 18:

IsReference

Gets a value indicating whether this instance is reference. (Inherited from Instance.)

Member Class 19:

IsStatic

Gets a value indicating whether this IInstance is static. (Inherited from Instance.)

Member Class 20:

IsTcComInterfacePointer

Indicates that this instance is a TcComInterfacePointer. (Inherited from Instance.)

Member Class 21:

IsTypeGuid

Indicates that this instance has set TypeGuid flag. (Inherited from Instance.)

Member Class 22:

Namespace

Gets the namespace name. (Inherited from Instance.)

Member Class 23:

Offset

Gets the offset of the Member within the parent StructType in bits or bytes dependent on IsBitType

Member Class 24:

ParentType

Gets the Parent of this IField. (Inherited from Field.)

Member Class 25:

Size

Gets the size of the IDataType in bytes or Bits dependant on IsBitType (Inherited from Instance.)

Member Class 26:

TypeName

Gets the name of the DataType that is used for this IInstance. (Inherited from Instance.)

Member Class 27:

ValueEncoding

Gets the value encoding of this Field (Inherited from Field.)

Methods

 

Name

Description

Member Class 28:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

Member Class 29:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

Member Class 30:

GetType

Gets the Type of the current instance. (Inherited from Object.)

Member Class 31:

ToString

Returns a String that represents this instance. (Inherited from Instance.)

Extension Methods

 

Name

Description

ReferencesExternalData

Indicates, that the Instance value includes process memory data, that cannot be read in one memory block. (Defined by DataTypeExtension.)

Reference

TwinCAT.Ads.TypeSystem Namespace