다음을 통해 공유


SyntaxFactory.ImportsStatement Method

Definition

Overloads

ImportsStatement()

Represents an Imports statement, which has one or more imports clauses.

ImportsStatement(SeparatedSyntaxList<ImportsClauseSyntax>)

Represents an Imports statement, which has one or more imports clauses.

ImportsStatement(SyntaxToken, SeparatedSyntaxList<ImportsClauseSyntax>)

Represents an Imports statement, which has one or more imports clauses.

ImportsStatement()

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 an Imports statement, which has one or more imports clauses.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ImportsStatementSyntax ^ ImportsStatement();
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsStatementSyntax ImportsStatement ();
static member ImportsStatement : unit -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsStatementSyntax
Public Shared Function ImportsStatement () As ImportsStatementSyntax

Returns

Applies to

ImportsStatement(SeparatedSyntaxList<ImportsClauseSyntax>)

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 an Imports statement, which has one or more imports clauses.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ImportsStatementSyntax ^ ImportsStatement(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ImportsClauseSyntax ^> importsClauses);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsStatementSyntax ImportsStatement (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsClauseSyntax> importsClauses);
static member ImportsStatement : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsClauseSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsStatementSyntax
Public Shared Function ImportsStatement (importsClauses As SeparatedSyntaxList(Of ImportsClauseSyntax)) As ImportsStatementSyntax

Parameters

importsClauses
SeparatedSyntaxList<ImportsClauseSyntax>

A list of one or more import clauses. Each clause is either an alias, namespace or XML namespace import.

Returns

Applies to

ImportsStatement(SyntaxToken, SeparatedSyntaxList<ImportsClauseSyntax>)

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 an Imports statement, which has one or more imports clauses.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ImportsStatementSyntax ^ ImportsStatement(Microsoft::CodeAnalysis::SyntaxToken importsKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ImportsClauseSyntax ^> importsClauses);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsStatementSyntax ImportsStatement (Microsoft.CodeAnalysis.SyntaxToken importsKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsClauseSyntax> importsClauses);
static member ImportsStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsClauseSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportsStatementSyntax
Public Shared Function ImportsStatement (importsKeyword As SyntaxToken, importsClauses As SeparatedSyntaxList(Of ImportsClauseSyntax)) As ImportsStatementSyntax

Parameters

importsKeyword
SyntaxToken

The "Imports" keyword.

importsClauses
SeparatedSyntaxList<ImportsClauseSyntax>

A list of one or more import clauses. Each clause is either an alias, namespace or XML namespace import.

Returns

Applies to