IFieldCollection.TryGetMember Method

Gets the Field/Member with the specified name from the collection.

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

Syntax

C#

bool TryGetMember(
    string fieldName,
    out IField?? symbol
)

Parameters

fieldName

Type: System.String
Name of the field/member.

symbol

Type: TwinCAT.TypeSystem.IField.
The symbol with the specified name.

Return Value

Type: Boolean
true if found, false otherwise.

Reference

IFieldCollection Interface

TwinCAT.TypeSystem Namespace