ReadOnlyNamespaceCollection.N, T..TryGetType Method

Tries to get the specified data 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
Name of the type.

dataType

Type: T.
Data Type (out-parameter).

Return Value

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

Reference

ReadOnlyNamespaceCollection.N, T. Class

TwinCAT.TypeSystem.Generic Namespace