SyntaxFactory.NamespaceBlock 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
NamespaceBlock(NamespaceStatementSyntax) |
Represents a Namespace statement, its contents and the End Namespace statement. |
NamespaceBlock(NamespaceStatementSyntax, SyntaxList<StatementSyntax>) |
Represents a Namespace statement, its contents and the End Namespace statement. |
NamespaceBlock(NamespaceStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax) |
Represents a Namespace statement, its contents and the End Namespace statement. |
NamespaceBlock(NamespaceStatementSyntax)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents a Namespace statement, its contents and the End Namespace statement.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::NamespaceBlockSyntax ^ NamespaceBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::NamespaceStatementSyntax ^ namespaceStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceBlockSyntax NamespaceBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceStatementSyntax namespaceStatement);
static member NamespaceBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceBlockSyntax
Public Shared Function NamespaceBlock (namespaceStatement As NamespaceStatementSyntax) As NamespaceBlockSyntax
Parameters
- namespaceStatement
- NamespaceStatementSyntax
The statement that begins the NamespaceBlock.
Returns
Applies to
NamespaceBlock(NamespaceStatementSyntax, SyntaxList<StatementSyntax>)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents a Namespace statement, its contents and the End Namespace statement.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::NamespaceBlockSyntax ^ NamespaceBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::NamespaceStatementSyntax ^ namespaceStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceBlockSyntax NamespaceBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceStatementSyntax namespaceStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> members);
static member NamespaceBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceBlockSyntax
Public Shared Function NamespaceBlock (namespaceStatement As NamespaceStatementSyntax, members As SyntaxList(Of StatementSyntax)) As NamespaceBlockSyntax
Parameters
- namespaceStatement
- NamespaceStatementSyntax
The statement that begins the NamespaceBlock.
- members
- SyntaxList<StatementSyntax>
The declarations contained in the namespace statement.
Returns
Applies to
NamespaceBlock(NamespaceStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents a Namespace statement, its contents and the End Namespace statement.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::NamespaceBlockSyntax ^ NamespaceBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::NamespaceStatementSyntax ^ namespaceStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endNamespaceStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceBlockSyntax NamespaceBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceStatementSyntax namespaceStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> members, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endNamespaceStatement);
static member NamespaceBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NamespaceBlockSyntax
Public Shared Function NamespaceBlock (namespaceStatement As NamespaceStatementSyntax, members As SyntaxList(Of StatementSyntax), endNamespaceStatement As EndBlockStatementSyntax) As NamespaceBlockSyntax
Parameters
- namespaceStatement
- NamespaceStatementSyntax
The statement that begins the NamespaceBlock.
- members
- SyntaxList<StatementSyntax>
The declarations contained in the namespace statement.
- endNamespaceStatement
- EndBlockStatementSyntax
The End Namespace statement that ends the block.