IVirtualStructInstance.AddMember Method

Adds the member.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

bool AddMember(
    ISymbol memberInstance,
    IVirtualStructInstance parent
)

VB

Function AddMember ( 
    memberInstance As ISymbol,
    parent As IVirtualStructInstance
) As Boolean

Parameters

memberInstance

Type: TwinCAT.TypeSystem.ISymbol
The member instance.

parent

Type: TwinCAT.TypeSystem.IVirtualStructInstance
The parent struct instance. Usually the this pointer.

Return Value

Type: Boolean

Reference

IVirtualStructInstance Interface

TwinCAT.TypeSystem Namespace