Edit

Share via


CodeTypeDeclaration Constructors

Definition

Initializes a new instance of the CodeTypeDeclaration class.

Overloads

CodeTypeDeclaration()

Initializes a new instance of the CodeTypeDeclaration class.

CodeTypeDeclaration(String)

Initializes a new instance of the CodeTypeDeclaration class with the specified name.

CodeTypeDeclaration()

Source:
CodeTypeDeclaration.cs
Source:
CodeTypeDeclaration.cs

Initializes a new instance of the CodeTypeDeclaration class.

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

Applies to

CodeTypeDeclaration(String)

Source:
CodeTypeDeclaration.cs
Source:
CodeTypeDeclaration.cs

Initializes a new instance of the CodeTypeDeclaration class with the specified name.

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

Parameters

name
String

The name for the new type.

Applies to