편집

다음을 통해 공유


CodeNamespace Constructors

Definition

Initializes a new instance of the CodeNamespace class.

Overloads

CodeNamespace()

Initializes a new instance of the CodeNamespace class.

CodeNamespace(String)

Initializes a new instance of the CodeNamespace class using the specified name.

CodeNamespace()

Source:
CodeNamespace.cs
Source:
CodeNamespace.cs
Source:
CodeNamespace.cs
Source:
CodeNamespace.cs

Initializes a new instance of the CodeNamespace class.

public:
 CodeNamespace();
public CodeNamespace ();
Public Sub New ()

Applies to

CodeNamespace(String)

Source:
CodeNamespace.cs
Source:
CodeNamespace.cs
Source:
CodeNamespace.cs
Source:
CodeNamespace.cs

Initializes a new instance of the CodeNamespace class using the specified name.

public:
 CodeNamespace(System::String ^ name);
public CodeNamespace (string name);
new System.CodeDom.CodeNamespace : string -> System.CodeDom.CodeNamespace
Public Sub New (name As String)

Parameters

name
String

The name of the namespace being declared.

Applies to