共用方式為


SyntaxFactory.ExternAliasDirective Method

Definition

Overloads

ExternAliasDirective(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken)

Creates a new ExternAliasDirectiveSyntax instance.

ExternAliasDirective(String)

Creates a new ExternAliasDirectiveSyntax instance.

ExternAliasDirective(SyntaxToken)

Creates a new ExternAliasDirectiveSyntax instance.

ExternAliasDirective(SyntaxToken, SyntaxToken, SyntaxToken, 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:
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

Creates a new ExternAliasDirectiveSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ExternAliasDirectiveSyntax ^ ExternAliasDirective(Microsoft::CodeAnalysis::SyntaxToken externKeyword, Microsoft::CodeAnalysis::SyntaxToken aliasKeyword, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax ExternAliasDirective (Microsoft.CodeAnalysis.SyntaxToken externKeyword, Microsoft.CodeAnalysis.SyntaxToken aliasKeyword, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member ExternAliasDirective : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax
Public Shared Function ExternAliasDirective (externKeyword As SyntaxToken, aliasKeyword As SyntaxToken, identifier As SyntaxToken, semicolonToken As SyntaxToken) As ExternAliasDirectiveSyntax

Parameters

externKeyword
SyntaxToken
aliasKeyword
SyntaxToken
identifier
SyntaxToken
semicolonToken
SyntaxToken

Returns

Applies to

ExternAliasDirective(String)

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

Creates a new ExternAliasDirectiveSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ExternAliasDirectiveSyntax ^ ExternAliasDirective(System::String ^ identifier);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax ExternAliasDirective (string identifier);
static member ExternAliasDirective : string -> Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax
Public Shared Function ExternAliasDirective (identifier As String) As ExternAliasDirectiveSyntax

Parameters

identifier
String

Returns

Applies to

ExternAliasDirective(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:
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

Creates a new ExternAliasDirectiveSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ExternAliasDirectiveSyntax ^ ExternAliasDirective(Microsoft::CodeAnalysis::SyntaxToken identifier);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax ExternAliasDirective (Microsoft.CodeAnalysis.SyntaxToken identifier);
static member ExternAliasDirective : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax
Public Shared Function ExternAliasDirective (identifier As SyntaxToken) As ExternAliasDirectiveSyntax

Parameters

identifier
SyntaxToken

Returns

Applies to