InstanceCollection.T..TryGetInstance Method
Tries to get the IInstance. of the specified path.
Namespace: TwinCAT.TypeSystem.Generic
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public bool TryGetInstance(
string instanceSpecifier,
out T? symbol
)
Parameters
instanceSpecifier |
Type: System.String |
symbol |
Type: T. |
Exceptions
Exception |
Condition |
---|---|
ArgumentNullException |
instancePath |
ArgumentException |