NamespaceCollection.N, T..TryGetType Method
Tries to get the specified type.
Namespace: TwinCAT.TypeSystem.Generic
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public bool TryGetType(
string typeName,
out T dataType
)
VB
Public Function TryGetType (
typeName As String,
<OutAttribute> ByRef dataType As T
) As Boolean
Parameters
typeName |
Type: System.String |
dataType |
Type: T. |
Return Value
Type: Boolean
true if found, false if not contained.
Exceptions
Exception |
Condition |
---|---|
typeName | |