NamespaceCollection.T..TryGetType Method
Tries to get the specified type.
Namespace: TwinCAT.TypeSystem.Generic
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public bool TryGetType(
string typeName,
out T? dataType
)
Parameters
typeName |
Type: System.String |
dataType |
Type: T. |
Return Value
Type: Boolean
true if found, false if not contained.
Exceptions
Exception |
Condition |
---|---|
ArgumentNullException |
typeName |
ArgumentException |