SyntaxFactory.UsingStatement Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
UsingStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax) |
Crée une instance UsingStatementSyntax. |
UsingStatement(SyntaxToken, SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax) |
Crée une instance UsingStatementSyntax. |
UsingStatement(SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax) |
Crée une instance UsingStatementSyntax. |
UsingStatement(VariableDeclarationSyntax, ExpressionSyntax, StatementSyntax) |
Crée une instance UsingStatementSyntax. |
UsingStatement(StatementSyntax) |
Crée une instance UsingStatementSyntax. |
UsingStatement(SyntaxList<AttributeListSyntax>, VariableDeclarationSyntax, ExpressionSyntax, StatementSyntax) |
Crée une instance UsingStatementSyntax. |
UsingStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Crée une instance 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
Paramètres
- attributeLists
- SyntaxList<AttributeListSyntax>
- awaitKeyword
- SyntaxToken
- usingKeyword
- SyntaxToken
- openParenToken
- SyntaxToken
- declaration
- VariableDeclarationSyntax
- expression
- ExpressionSyntax
- closeParenToken
- SyntaxToken
- statement
- StatementSyntax
Retours
S’applique à
UsingStatement(SyntaxToken, SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
Crée une instance 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
Paramètres
- awaitKeyword
- SyntaxToken
- usingKeyword
- SyntaxToken
- openParenToken
- SyntaxToken
- declaration
- VariableDeclarationSyntax
- expression
- ExpressionSyntax
- closeParenToken
- SyntaxToken
- statement
- StatementSyntax
Retours
S’applique à
UsingStatement(SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax)
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
Crée une instance 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
Paramètres
- usingKeyword
- SyntaxToken
- openParenToken
- SyntaxToken
- declaration
- VariableDeclarationSyntax
- expression
- ExpressionSyntax
- closeParenToken
- SyntaxToken
- statement
- StatementSyntax
Retours
S’applique à
UsingStatement(VariableDeclarationSyntax, ExpressionSyntax, StatementSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
- Source:
- UsingStatementSyntax.cs
Crée une instance 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
Paramètres
- declaration
- VariableDeclarationSyntax
- expression
- ExpressionSyntax
- statement
- StatementSyntax
Retours
S’applique à
UsingStatement(StatementSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Crée une instance 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
Paramètres
- statement
- StatementSyntax
Retours
S’applique à
UsingStatement(SyntaxList<AttributeListSyntax>, VariableDeclarationSyntax, ExpressionSyntax, StatementSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Crée une instance 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
Paramètres
- attributeLists
- SyntaxList<AttributeListSyntax>
- declaration
- VariableDeclarationSyntax
- expression
- ExpressionSyntax
- statement
- StatementSyntax