IFieldCollectionTryGetMember 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: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

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

Parameters

fieldName  String

Name of the field/member.

symbol  IField

The symbol with the specified name.

Return Value

Boolean
true if found, false otherwise.

Reference

IFieldCollection Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026