SyntaxFactory.UsingDirective メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
UsingDirective(SyntaxToken, SyntaxToken, SyntaxToken, NameEqualsSyntax, NameSyntax, SyntaxToken) |
新しい UsingDirectiveSyntax インスタンスを作成します。 |
UsingDirective(NameSyntax) |
新しい UsingDirectiveSyntax インスタンスを作成します。 |
UsingDirective(TypeSyntax) |
新しい UsingDirectiveSyntax インスタンスを作成します。 |
UsingDirective(NameEqualsSyntax, NameSyntax) |
新しい UsingDirectiveSyntax インスタンスを作成します。 |
UsingDirective(NameEqualsSyntax, TypeSyntax) |
新しい UsingDirectiveSyntax インスタンスを作成します。 |
UsingDirective(SyntaxToken, NameEqualsSyntax, NameSyntax) |
新しい UsingDirectiveSyntax インスタンスを作成します。 |
UsingDirective(SyntaxToken, SyntaxToken, NameEqualsSyntax, NameSyntax, SyntaxToken) |
新しい UsingDirectiveSyntax インスタンスを作成します。 |
UsingDirective(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, NameEqualsSyntax, TypeSyntax, SyntaxToken) |
新しい UsingDirectiveSyntax インスタンスを作成します。 |
UsingDirective(SyntaxToken, SyntaxToken, SyntaxToken, NameEqualsSyntax, NameSyntax, SyntaxToken)
- 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:
- UsingDirectiveSyntax.cs
- Source:
- UsingDirectiveSyntax.cs
- Source:
- UsingDirectiveSyntax.cs
- Source:
- UsingDirectiveSyntax.cs
新しい UsingDirectiveSyntax インスタンスを作成します。
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax UsingDirective (Microsoft.CodeAnalysis.SyntaxToken globalKeyword, Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.SyntaxToken staticKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax? alias, Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member UsingDirective : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax
Public Shared Function UsingDirective (globalKeyword As SyntaxToken, usingKeyword As SyntaxToken, staticKeyword As SyntaxToken, alias As NameEqualsSyntax, name As NameSyntax, semicolonToken As SyntaxToken) As UsingDirectiveSyntax
パラメーター
- globalKeyword
- SyntaxToken
- usingKeyword
- SyntaxToken
- staticKeyword
- SyntaxToken
- alias
- NameEqualsSyntax
- name
- NameSyntax
- semicolonToken
- SyntaxToken
戻り値
適用対象
UsingDirective(NameSyntax)
- 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:
- UsingDirectiveSyntax.cs
- Source:
- UsingDirectiveSyntax.cs
- Source:
- UsingDirectiveSyntax.cs
- Source:
- UsingDirectiveSyntax.cs
新しい UsingDirectiveSyntax インスタンスを作成します。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::UsingDirectiveSyntax ^ UsingDirective(Microsoft::CodeAnalysis::CSharp::Syntax::NameSyntax ^ name);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax UsingDirective (Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name);
static member UsingDirective : Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax
Public Shared Function UsingDirective (name As NameSyntax) As UsingDirectiveSyntax
パラメーター
- name
- NameSyntax
戻り値
適用対象
UsingDirective(TypeSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
新しい UsingDirectiveSyntax インスタンスを作成します。
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax UsingDirective (Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax namespaceOrType);
static member UsingDirective : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax
Public Shared Function UsingDirective (namespaceOrType As TypeSyntax) As UsingDirectiveSyntax
パラメーター
- namespaceOrType
- TypeSyntax
戻り値
適用対象
UsingDirective(NameEqualsSyntax, NameSyntax)
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
新しい UsingDirectiveSyntax インスタンスを作成します。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::UsingDirectiveSyntax ^ UsingDirective(Microsoft::CodeAnalysis::CSharp::Syntax::NameEqualsSyntax ^ alias, Microsoft::CodeAnalysis::CSharp::Syntax::NameSyntax ^ name);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax UsingDirective (Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax alias, Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name);
static member UsingDirective : Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax
Public Shared Function UsingDirective (alias As NameEqualsSyntax, name As NameSyntax) As UsingDirectiveSyntax
パラメーター
- alias
- NameEqualsSyntax
- name
- NameSyntax
戻り値
適用対象
UsingDirective(NameEqualsSyntax, TypeSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
新しい UsingDirectiveSyntax インスタンスを作成します。
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax UsingDirective (Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax? alias, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax namespaceOrType);
static member UsingDirective : Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax
Public Shared Function UsingDirective (alias As NameEqualsSyntax, namespaceOrType As TypeSyntax) As UsingDirectiveSyntax
パラメーター
- alias
- NameEqualsSyntax
- namespaceOrType
- TypeSyntax
戻り値
適用対象
UsingDirective(SyntaxToken, NameEqualsSyntax, NameSyntax)
- 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:
- UsingDirectiveSyntax.cs
- Source:
- UsingDirectiveSyntax.cs
- Source:
- UsingDirectiveSyntax.cs
- Source:
- UsingDirectiveSyntax.cs
新しい UsingDirectiveSyntax インスタンスを作成します。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::UsingDirectiveSyntax ^ UsingDirective(Microsoft::CodeAnalysis::SyntaxToken staticKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::NameEqualsSyntax ^ alias, Microsoft::CodeAnalysis::CSharp::Syntax::NameSyntax ^ name);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax UsingDirective (Microsoft.CodeAnalysis.SyntaxToken staticKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax alias, Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax UsingDirective (Microsoft.CodeAnalysis.SyntaxToken staticKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax? alias, Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name);
static member UsingDirective : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax
Public Shared Function UsingDirective (staticKeyword As SyntaxToken, alias As NameEqualsSyntax, name As NameSyntax) As UsingDirectiveSyntax
パラメーター
- staticKeyword
- SyntaxToken
- alias
- NameEqualsSyntax
- name
- NameSyntax
戻り値
適用対象
UsingDirective(SyntaxToken, SyntaxToken, NameEqualsSyntax, NameSyntax, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- SyntaxFactory.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:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
- Source:
- SyntaxFactory.cs
新しい UsingDirectiveSyntax インスタンスを作成します。
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::UsingDirectiveSyntax ^ UsingDirective(Microsoft::CodeAnalysis::SyntaxToken usingKeyword, Microsoft::CodeAnalysis::SyntaxToken staticKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::NameEqualsSyntax ^ alias, Microsoft::CodeAnalysis::CSharp::Syntax::NameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax UsingDirective (Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.SyntaxToken staticKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax alias, Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax UsingDirective (Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.SyntaxToken staticKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax? alias, Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member UsingDirective : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax
Public Shared Function UsingDirective (usingKeyword As SyntaxToken, staticKeyword As SyntaxToken, alias As NameEqualsSyntax, name As NameSyntax, semicolonToken As SyntaxToken) As UsingDirectiveSyntax
パラメーター
- usingKeyword
- SyntaxToken
- staticKeyword
- SyntaxToken
- alias
- NameEqualsSyntax
- name
- NameSyntax
- semicolonToken
- SyntaxToken
戻り値
適用対象
UsingDirective(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, NameEqualsSyntax, TypeSyntax, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
新しい UsingDirectiveSyntax インスタンスを作成します。
public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax UsingDirective (Microsoft.CodeAnalysis.SyntaxToken globalKeyword, Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.SyntaxToken staticKeyword, Microsoft.CodeAnalysis.SyntaxToken unsafeKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax? alias, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax namespaceOrType, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member UsingDirective : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.NameEqualsSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax
Public Shared Function UsingDirective (globalKeyword As SyntaxToken, usingKeyword As SyntaxToken, staticKeyword As SyntaxToken, unsafeKeyword As SyntaxToken, alias As NameEqualsSyntax, namespaceOrType As TypeSyntax, semicolonToken As SyntaxToken) As UsingDirectiveSyntax
パラメーター
- globalKeyword
- SyntaxToken
- usingKeyword
- SyntaxToken
- staticKeyword
- SyntaxToken
- unsafeKeyword
- SyntaxToken
- alias
- NameEqualsSyntax
- namespaceOrType
- TypeSyntax
- semicolonToken
- SyntaxToken
戻り値
適用対象
.NET