DynamicVirtualStructInstance.AddMember Method

Adds an member instance.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public bool AddMember(
    ISymbol memberInstance,
    IVirtualStructInstance parent
)

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