Freigeben über


SyntaxFactory.UsingDirective Methode

Definition

Überlädt

UsingDirective(SyntaxToken, SyntaxToken, SyntaxToken, NameEqualsSyntax, NameSyntax, SyntaxToken)

Erstellt eine neue UsingDirectiveSyntax-instance.

UsingDirective(NameSyntax)

Erstellt eine neue UsingDirectiveSyntax-instance.

UsingDirective(TypeSyntax)

Erstellt eine neue UsingDirectiveSyntax-instance.

UsingDirective(NameEqualsSyntax, NameSyntax)

Erstellt eine neue UsingDirectiveSyntax-instance.

UsingDirective(NameEqualsSyntax, TypeSyntax)

Erstellt eine neue UsingDirectiveSyntax-instance.

UsingDirective(SyntaxToken, NameEqualsSyntax, NameSyntax)

Erstellt eine neue UsingDirectiveSyntax-instance.

UsingDirective(SyntaxToken, SyntaxToken, NameEqualsSyntax, NameSyntax, SyntaxToken)

Erstellt eine neue UsingDirectiveSyntax-instance.

UsingDirective(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, NameEqualsSyntax, TypeSyntax, SyntaxToken)

Erstellt eine neue UsingDirectiveSyntax-instance.

UsingDirective(SyntaxToken, SyntaxToken, SyntaxToken, NameEqualsSyntax, NameSyntax, SyntaxToken)

Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
UsingDirectiveSyntax.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
UsingDirectiveSyntax.cs
Quelle:
UsingDirectiveSyntax.cs
Quelle:
UsingDirectiveSyntax.cs
Quelle:
UsingDirectiveSyntax.cs

Erstellt eine neue UsingDirectiveSyntax-instance.

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

Parameter

globalKeyword
SyntaxToken
usingKeyword
SyntaxToken
staticKeyword
SyntaxToken
name
NameSyntax
semicolonToken
SyntaxToken

Gibt zurück

Gilt für:

UsingDirective(NameSyntax)

Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
UsingDirectiveSyntax.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
UsingDirectiveSyntax.cs
Quelle:
UsingDirectiveSyntax.cs
Quelle:
UsingDirectiveSyntax.cs
Quelle:
UsingDirectiveSyntax.cs

Erstellt eine neue UsingDirectiveSyntax-instance.

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

Parameter

name
NameSyntax

Gibt zurück

Gilt für:

UsingDirective(TypeSyntax)

Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs

Erstellt eine neue UsingDirectiveSyntax-instance.

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

Parameter

namespaceOrType
TypeSyntax

Gibt zurück

Gilt für:

UsingDirective(NameEqualsSyntax, NameSyntax)

Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs

Erstellt eine neue UsingDirectiveSyntax-instance.

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

Parameter

name
NameSyntax

Gibt zurück

Gilt für:

UsingDirective(NameEqualsSyntax, TypeSyntax)

Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs

Erstellt eine neue UsingDirectiveSyntax-instance.

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

Parameter

namespaceOrType
TypeSyntax

Gibt zurück

Gilt für:

UsingDirective(SyntaxToken, NameEqualsSyntax, NameSyntax)

Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
UsingDirectiveSyntax.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
UsingDirectiveSyntax.cs
Quelle:
UsingDirectiveSyntax.cs
Quelle:
UsingDirectiveSyntax.cs
Quelle:
UsingDirectiveSyntax.cs

Erstellt eine neue UsingDirectiveSyntax-instance.

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

Parameter

staticKeyword
SyntaxToken
name
NameSyntax

Gibt zurück

Gilt für:

UsingDirective(SyntaxToken, SyntaxToken, NameEqualsSyntax, NameSyntax, SyntaxToken)

Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
SyntaxFactory.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs
Quelle:
SyntaxFactory.cs

Erstellt eine neue UsingDirectiveSyntax-instance.

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

Parameter

usingKeyword
SyntaxToken
staticKeyword
SyntaxToken
name
NameSyntax
semicolonToken
SyntaxToken

Gibt zurück

Gilt für:

UsingDirective(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, NameEqualsSyntax, TypeSyntax, SyntaxToken)

Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs
Quelle:
Syntax.xml.Main.Generated.cs

Erstellt eine neue UsingDirectiveSyntax-instance.

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

Parameter

globalKeyword
SyntaxToken
usingKeyword
SyntaxToken
staticKeyword
SyntaxToken
unsafeKeyword
SyntaxToken
namespaceOrType
TypeSyntax
semicolonToken
SyntaxToken

Gibt zurück

Gilt für: