ISymbolFactory.CreateFieldInstances Method

Creates the Member Instances collection for the specified parent instance

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

Syntax

C#

ISymbolCollection<ISymbol> CreateFieldInstances(
    ISymbol parentInstance,
    IDataType parentType
)

Parameters

parentInstance

Type: TwinCAT.TypeSystem.ISymbol
The parent instance.

parentType

Type: TwinCAT.TypeSystem.IDataType
Parent Type (Struct/Alias/Union).

Return Value

Type: ISymbolCollection.ISymbol.
SymbolCollection.

Reference

ISymbolFactory Interface

TwinCAT.TypeSystem Namespace