Partilhar via


SyntaxFactory.UsingDirective Método

Definição

Sobrecargas

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

Cria uma nova instância usingDirectiveSyntax.

UsingDirective(NameSyntax)

Cria uma nova instância usingDirectiveSyntax.

UsingDirective(TypeSyntax)

Cria uma nova instância usingDirectiveSyntax.

UsingDirective(NameEqualsSyntax, NameSyntax)

Cria uma nova instância usingDirectiveSyntax.

UsingDirective(NameEqualsSyntax, TypeSyntax)

Cria uma nova instância usingDirectiveSyntax.

UsingDirective(SyntaxToken, NameEqualsSyntax, NameSyntax)

Cria uma nova instância usingDirectiveSyntax.

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

Cria uma nova instância usingDirectiveSyntax.

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

Cria uma nova instância usingDirectiveSyntax.

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

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

Cria uma nova instância 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

Parâmetros

globalKeyword
SyntaxToken
usingKeyword
SyntaxToken
staticKeyword
SyntaxToken
name
NameSyntax
semicolonToken
SyntaxToken

Retornos

Aplica-se a

UsingDirective(NameSyntax)

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

Cria uma nova instância 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

Parâmetros

name
NameSyntax

Retornos

Aplica-se a

UsingDirective(TypeSyntax)

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs

Cria uma nova instância 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

Parâmetros

namespaceOrType
TypeSyntax

Retornos

Aplica-se a

UsingDirective(NameEqualsSyntax, NameSyntax)

Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs
Origem:
SyntaxFactory.cs

Cria uma nova instância 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

Parâmetros

name
NameSyntax

Retornos

Aplica-se a

UsingDirective(NameEqualsSyntax, TypeSyntax)

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs

Cria uma nova instância 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

Parâmetros

namespaceOrType
TypeSyntax

Retornos

Aplica-se a

UsingDirective(SyntaxToken, NameEqualsSyntax, NameSyntax)

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

Cria uma nova instância 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

Parâmetros

staticKeyword
SyntaxToken
name
NameSyntax

Retornos

Aplica-se a

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

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

Cria uma nova instância 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

Parâmetros

usingKeyword
SyntaxToken
staticKeyword
SyntaxToken
name
NameSyntax
semicolonToken
SyntaxToken

Retornos

Aplica-se a

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

Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs
Origem:
Syntax.xml.Main.Generated.cs

Cria uma nova instância 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

Parâmetros

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

Retornos

Aplica-se a