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: 4.3.0.0

Syntax

C#

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

VB

Public NotInheritable Class Member
    Inherits Field
    Implements IMember, IField, IAttributedInstance, IInstance, 
    IBitSize

The Member type exposes the following members.

Properties

 

Name

Description

Attributes

Gets the Type Attributes. (Inherited from Instance.)

BitOffset

Gets the bit offset.

BitSize

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

ByteOffset

Gets the byte offset.

ByteSize

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

Category

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

Comment

Gets the comment. (Inherited from Instance.)

ContextMask

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

DataType

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

HasValue

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

InstanceName

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

InstancePath

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

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

IsByteAligned

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

IsPersistent

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

IsPointer

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

IsReadOnly

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

IsReference

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

IsStatic

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

IsTcComInterfacePointer

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

IsTypeGuid

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

Namespace

Gets the namespace name. (Inherited from Instance.)

Offset

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

ParentType

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

Size

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

TypeName

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

Methods

 

Name

Description

Equals

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

GetHashCode

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

GetType

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

ToString

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

Reference

TwinCAT.Ads.TypeSystem Namespace