Partilhar via


SyntaxFactory.UsingStatement Método

Definição

Sobrecargas

UsingStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax)

Cria uma nova instância usingStatementSyntax.

UsingStatement(SyntaxToken, SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax)

Cria uma nova instância usingStatementSyntax.

UsingStatement(SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax)

Cria uma nova instância usingStatementSyntax.

UsingStatement(VariableDeclarationSyntax, ExpressionSyntax, StatementSyntax)

Cria uma nova instância usingStatementSyntax.

UsingStatement(StatementSyntax)

Cria uma nova instância usingStatementSyntax.

UsingStatement(SyntaxList<AttributeListSyntax>, VariableDeclarationSyntax, ExpressionSyntax, StatementSyntax)

Cria uma nova instância usingStatementSyntax.

UsingStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax)

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs

Cria uma nova instância usingStatementSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax UsingStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken awaitKeyword, Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax? declaration, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member UsingStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax
Public Shared Function UsingStatement (attributeLists As SyntaxList(Of AttributeListSyntax), awaitKeyword As SyntaxToken, usingKeyword As SyntaxToken, openParenToken As SyntaxToken, declaration As VariableDeclarationSyntax, expression As ExpressionSyntax, closeParenToken As SyntaxToken, statement As StatementSyntax) As UsingStatementSyntax

Parâmetros

awaitKeyword
SyntaxToken
usingKeyword
SyntaxToken
openParenToken
SyntaxToken
expression
ExpressionSyntax
closeParenToken
SyntaxToken
statement
StatementSyntax

Retornos

Aplica-se a

UsingStatement(SyntaxToken, SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax)

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs

Cria uma nova instância usingStatementSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax UsingStatement (Microsoft.CodeAnalysis.SyntaxToken awaitKeyword, Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax UsingStatement (Microsoft.CodeAnalysis.SyntaxToken awaitKeyword, Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax? declaration, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member UsingStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax
Public Shared Function UsingStatement (awaitKeyword As SyntaxToken, usingKeyword As SyntaxToken, openParenToken As SyntaxToken, declaration As VariableDeclarationSyntax, expression As ExpressionSyntax, closeParenToken As SyntaxToken, statement As StatementSyntax) As UsingStatementSyntax

Parâmetros

awaitKeyword
SyntaxToken
usingKeyword
SyntaxToken
openParenToken
SyntaxToken
expression
ExpressionSyntax
closeParenToken
SyntaxToken
statement
StatementSyntax

Retornos

Aplica-se a

UsingStatement(SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax)

Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs

Cria uma nova instância usingStatementSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::UsingStatementSyntax ^ UsingStatement(Microsoft::CodeAnalysis::SyntaxToken usingKeyword, Microsoft::CodeAnalysis::SyntaxToken openParenToken, Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclarationSyntax ^ declaration, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::SyntaxToken closeParenToken, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax UsingStatement (Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax UsingStatement (Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax? declaration, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member UsingStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax
Public Shared Function UsingStatement (usingKeyword As SyntaxToken, openParenToken As SyntaxToken, declaration As VariableDeclarationSyntax, expression As ExpressionSyntax, closeParenToken As SyntaxToken, statement As StatementSyntax) As UsingStatementSyntax

Parâmetros

usingKeyword
SyntaxToken
openParenToken
SyntaxToken
expression
ExpressionSyntax
closeParenToken
SyntaxToken
statement
StatementSyntax

Retornos

Aplica-se a

UsingStatement(VariableDeclarationSyntax, ExpressionSyntax, StatementSyntax)

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs
Origem:
UsingStatementSyntax.cs

Cria uma nova instância usingStatementSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::UsingStatementSyntax ^ UsingStatement(Microsoft::CodeAnalysis::CSharp::Syntax::VariableDeclarationSyntax ^ declaration, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax UsingStatement (Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax declaration, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax UsingStatement (Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax? declaration, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member UsingStatement : Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax
Public Shared Function UsingStatement (declaration As VariableDeclarationSyntax, expression As ExpressionSyntax, statement As StatementSyntax) As UsingStatementSyntax

Parâmetros

expression
ExpressionSyntax
statement
StatementSyntax

Retornos

Aplica-se a

UsingStatement(StatementSyntax)

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs

Cria uma nova instância usingStatementSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::UsingStatementSyntax ^ UsingStatement(Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax UsingStatement (Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member UsingStatement : Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax
Public Shared Function UsingStatement (statement As StatementSyntax) As UsingStatementSyntax

Parâmetros

statement
StatementSyntax

Retornos

Aplica-se a

UsingStatement(SyntaxList<AttributeListSyntax>, VariableDeclarationSyntax, ExpressionSyntax, StatementSyntax)

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs

Cria uma nova instância usingStatementSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax UsingStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax? declaration, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member UsingStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclarationSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax
Public Shared Function UsingStatement (attributeLists As SyntaxList(Of AttributeListSyntax), declaration As VariableDeclarationSyntax, expression As ExpressionSyntax, statement As StatementSyntax) As UsingStatementSyntax

Parâmetros

expression
ExpressionSyntax
statement
StatementSyntax

Retornos

Aplica-se a