SyntaxGenerator.NamespaceDeclaration Method
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.
Overloads
NamespaceDeclaration(String, IEnumerable<SyntaxNode>) |
Creates a namespace declaration. |
NamespaceDeclaration(String, SyntaxNode[]) |
Creates a namespace declaration. |
NamespaceDeclaration(SyntaxNode, SyntaxNode[]) |
Creates a namespace declaration. |
NamespaceDeclaration(SyntaxNode, IEnumerable<SyntaxNode>) |
Creates a namespace declaration. |
NamespaceDeclaration(String, IEnumerable<SyntaxNode>)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates a namespace declaration.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ NamespaceDeclaration(System::String ^ name, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ declarations);
public Microsoft.CodeAnalysis.SyntaxNode NamespaceDeclaration (string name, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> declarations);
member this.NamespaceDeclaration : string * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public Function NamespaceDeclaration (name As String, declarations As IEnumerable(Of SyntaxNode)) As SyntaxNode
Parameters
- name
- String
The name of the namespace.
- declarations
- IEnumerable<SyntaxNode>
Zero or more namespace or type declarations.
Returns
Applies to
NamespaceDeclaration(String, SyntaxNode[])
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates a namespace declaration.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ NamespaceDeclaration(System::String ^ name, ... cli::array <Microsoft::CodeAnalysis::SyntaxNode ^> ^ declarations);
public Microsoft.CodeAnalysis.SyntaxNode NamespaceDeclaration (string name, params Microsoft.CodeAnalysis.SyntaxNode[] declarations);
member this.NamespaceDeclaration : string * Microsoft.CodeAnalysis.SyntaxNode[] -> Microsoft.CodeAnalysis.SyntaxNode
Public Function NamespaceDeclaration (name As String, ParamArray declarations As SyntaxNode()) As SyntaxNode
Parameters
- name
- String
The name of the namespace.
- declarations
- SyntaxNode[]
Zero or more namespace or type declarations.
Returns
Applies to
NamespaceDeclaration(SyntaxNode, SyntaxNode[])
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates a namespace declaration.
public:
Microsoft::CodeAnalysis::SyntaxNode ^ NamespaceDeclaration(Microsoft::CodeAnalysis::SyntaxNode ^ name, ... cli::array <Microsoft::CodeAnalysis::SyntaxNode ^> ^ declarations);
public Microsoft.CodeAnalysis.SyntaxNode NamespaceDeclaration (Microsoft.CodeAnalysis.SyntaxNode name, params Microsoft.CodeAnalysis.SyntaxNode[] declarations);
member this.NamespaceDeclaration : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode[] -> Microsoft.CodeAnalysis.SyntaxNode
Public Function NamespaceDeclaration (name As SyntaxNode, ParamArray declarations As SyntaxNode()) As SyntaxNode
Parameters
- name
- SyntaxNode
The name of the namespace.
- declarations
- SyntaxNode[]
Zero or more namespace or type declarations.
Returns
Applies to
NamespaceDeclaration(SyntaxNode, IEnumerable<SyntaxNode>)
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
- Source:
- SyntaxGenerator.cs
Creates a namespace declaration.
public:
abstract Microsoft::CodeAnalysis::SyntaxNode ^ NamespaceDeclaration(Microsoft::CodeAnalysis::SyntaxNode ^ name, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ declarations);
public abstract Microsoft.CodeAnalysis.SyntaxNode NamespaceDeclaration (Microsoft.CodeAnalysis.SyntaxNode name, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> declarations);
abstract member NamespaceDeclaration : Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function NamespaceDeclaration (name As SyntaxNode, declarations As IEnumerable(Of SyntaxNode)) As SyntaxNode
Parameters
- name
- SyntaxNode
The name of the namespace.
- declarations
- IEnumerable<SyntaxNode>
Zero or more namespace or type declarations.