ReadOnlyNamespaceCollectionTTryGetNamespace Method

Tries to get the namespace with the specified name.


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

Syntax

C#

public bool TryGetNamespace(
    string name,
    out INamespace<T>? nspace
)

Parameters

name  String

Namespace name.

nspace  INamespaceT

The found namespace (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