IInstanceCollection.T..TryGetInstance Method

Tries to get the specified instance.

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

Syntax

C#

bool TryGetInstance(
    string instancePath,
    out T? symbol
)

Parameters

instancePath

Type: System.String
The instance path.

symbol

Type: T.
The symbol.

Return Value

Type: Boolean
true if the IInstance is found; otherwise, false

Reference

IInstanceCollection.T. Interface

TwinCAT.TypeSystem Namespace