ReadOnlyNamespaceCollectionTTryGetType Method

Tries to get the specified data type.


Namespace: TwinCAT.TypeSystem.Generic
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public bool TryGetType(
    string typeName,
    out T? dataType
)

Parameters

typeName  String

Name of the type.

dataType  T

Data Type (out-parameter).

Return Value

Boolean
true if found, false if not contained.

Reference

ReadOnlyNamespaceCollectionT Class TwinCAT.TypeSystem.Generic Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026