ReadOnlyNamespaceCollection.T..TryGetType Method

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

dataType

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

Return Value

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

Reference

ReadOnlyNamespaceCollection.T. Class

TwinCAT.TypeSystem.Generic Namespace