CodeTypeDeclaration Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.