IInstanceCollection.T..TryGetInstance Method

Tries to get the specified instance.

Namespace:  TwinCAT.TypeSystem.Generic
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

bool TryGetInstance(
    string instancePath,
    out T symbol
)

VB

Function TryGetInstance ( 
    instancePath As String,
    <OutAttribute> ByRef symbol As T
) As Boolean

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.Generic Namespace