SyntaxFactory.UsingStatement メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
UsingStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax) |
新しい UsingStatementSyntax インスタンスを作成します。 |
UsingStatement(SyntaxToken, SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax) |
新しい UsingStatementSyntax インスタンスを作成します。 |
UsingStatement(SyntaxToken, SyntaxToken, VariableDeclarationSyntax, ExpressionSyntax, SyntaxToken, StatementSyntax) |
新しい UsingStatementSyntax インスタンスを作成します。 |
UsingStatement(VariableDeclarationSyntax, ExpressionSyntax, StatementSyntax) |
新しい UsingStatementSyntax インスタンスを作成します。 |
UsingStatement(StatementSyntax) |
新しい UsingStatementSyntax インスタンスを作成します。 |
UsingStatement(SyntaxList<AttributeListSyntax>, VariableDeclarationSyntax, ExpressionSyntax, StatementSyntax) |
新しい 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
新しい 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
パラメーター
- attributeLists
- SyntaxList<AttributeListSyntax>
- awaitKeyword
- SyntaxToken
- usingKeyword
- SyntaxToken
- openParenToken
- SyntaxToken
- declaration
- VariableDeclarationSyntax
- expression
- ExpressionSyntax
- closeParenToken
- SyntaxToken
- statement
- StatementSyntax
戻り値
適用対象
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
新しい 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
パラメーター
- awaitKeyword
- SyntaxToken
- usingKeyword
- SyntaxToken
- openParenToken
- SyntaxToken
- declaration
- VariableDeclarationSyntax
- expression
- ExpressionSyntax
- closeParenToken
- SyntaxToken
- statement
- StatementSyntax
戻り値
適用対象
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
新しい 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
パラメーター
- usingKeyword
- SyntaxToken
- openParenToken
- SyntaxToken
- declaration
- VariableDeclarationSyntax
- expression
- ExpressionSyntax
- closeParenToken
- SyntaxToken
- statement
- StatementSyntax
戻り値
適用対象
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
新しい 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
パラメーター
- declaration
- VariableDeclarationSyntax
- expression
- ExpressionSyntax
- statement
- StatementSyntax
戻り値
適用対象
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
新しい 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
パラメーター
- statement
- StatementSyntax
戻り値
適用対象
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
新しい 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
パラメーター
- attributeLists
- SyntaxList<AttributeListSyntax>
- declaration
- VariableDeclarationSyntax
- expression
- ExpressionSyntax
- statement
- StatementSyntax
戻り値
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET