ReadOnlyInstanceCollection.T..TryGetInstance Method

Tries to get the instance with the specified instance path.

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

Syntax

C#

public bool TryGetInstance(
    string instancePath,
    out T? instance
)

Parameters

instancePath

Type: System.String
The instance path.

instance

Type: T.
The instance.

Return Value

Type: Boolean
true, if found, false if not contained.

Implements

IInstanceCollection.T..TryGetInstance(String, T.)

Reference

ReadOnlyInstanceCollection.T. Class

TwinCAT.TypeSystem.Generic Namespace