DynamicVirtualStructInstance.AddMember Method

Adds an member instance.

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

Syntax

C#

public bool AddMember(
    ISymbol memberInstance,
    IVirtualStructInstance parent
)

VB

Public 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

Implements

IVirtualStructInstance.AddMember(ISymbol, IVirtualStructInstance)

Reference

DynamicVirtualStructInstance Class

TwinCAT.TypeSystem Namespace