ReadOnlyNamespaceCollection.T..TryGetNamespace Method

Tries to get the namespace with the specified name.

Namespace:  TwinCAT.TypeSystem.Generic
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

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

Parameters

name

Type: System.String
Namespace name.

nspace

Type: TwinCAT.TypeSystem.Generic.INamespace.T..
The found namespace (out-parameter).

Return Value

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

Reference

ReadOnlyNamespaceCollection.T. Class

TwinCAT.TypeSystem.Generic Namespace