Member Class

Represents a member of an StructType

Inheritance Hierarchy

SystemObject
  TwinCAT.Ads.TypeSystemInstance
    TwinCAT.Ads.TypeSystemField
      TwinCAT.Ads.TypeSystemMember

Namespace: TwinCAT.Ads.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

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:

IsProperty

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

Member Class 18:

IsReadOnly

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

Member Class 19:

IsReference

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

Member Class 20:

IsStatic

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

Member Class 21:

IsTcComInterfacePointer

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

Member Class 22:

IsTypeGuid

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

Member Class 23:

Namespace

Gets the namespace name.
(Inherited from Instance)

Member Class 24:

Offset

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

Member Class 25:

ParentType

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

Member Class 26:

Size

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

Member Class 27:

TypeName

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

Member Class 28:

ValueEncoding

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

Methods

 

Name

Description

Member Class 29:

Equals

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

Member Class 30:

GetHashCode

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

Member Class 31:

GetType

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

Member Class 32:

ToString

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

Extension Methods

 

Name

Description

HasExternalDataReferences

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

IsExternalDataReference

Indicates, that the field is static or is not part of the parents processimage memory location
(Defined by DataTypeExtension)

Reference

TwinCAT.Ads.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026