IVirtualStructInstance.AddMember Method

Adds the member.

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

Syntax

C#

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

Reference

IVirtualStructInstance Interface

TwinCAT.TypeSystem Namespace