ReadOnlyNamespaceCollection.N, T..TryGetNamespace Method

Tries to get the namespace with the specified name.

Namespace:  TwinCAT.TypeSystem.Generic
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public bool TryGetNamespace(
    string name,
    out N nspace
)

VB

Public Function TryGetNamespace ( 
    name As String,
    <OutAttribute> ByRef nspace As N
) As Boolean

Parameters

name

Type: System.String
Namespace name.

nspace

Type: N.
The found namespace (out-parameter).

Return Value

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

Reference

ReadOnlyNamespaceCollection.N, T. Class

TwinCAT.TypeSystem.Generic Namespace