Compartir a través de


SyntaxFactory.AttributeTarget Método

Definición

Sobrecargas

AttributeTarget(SyntaxToken)

Representa una declaración de atributo único dentro de una lista de atributos.

AttributeTarget(SyntaxToken, SyntaxToken)

Representa una declaración de atributo único dentro de una lista de atributos.

AttributeTarget(SyntaxToken)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Representa una declaración de atributo único dentro de una lista de atributos.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeTargetSyntax ^ AttributeTarget(Microsoft::CodeAnalysis::SyntaxToken attributeModifier);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeTargetSyntax AttributeTarget (Microsoft.CodeAnalysis.SyntaxToken attributeModifier);
static member AttributeTarget : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeTargetSyntax
Public Shared Function AttributeTarget (attributeModifier As SyntaxToken) As AttributeTargetSyntax

Parámetros

attributeModifier
SyntaxToken

El modificador de atributo "Assembly" o "Module", está presente. Si no hay ningún modificador de atributo presente, se devuelve Nothing.

Devoluciones

Se aplica a

AttributeTarget(SyntaxToken, SyntaxToken)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Representa una declaración de atributo único dentro de una lista de atributos.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeTargetSyntax ^ AttributeTarget(Microsoft::CodeAnalysis::SyntaxToken attributeModifier, Microsoft::CodeAnalysis::SyntaxToken colonToken);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeTargetSyntax AttributeTarget (Microsoft.CodeAnalysis.SyntaxToken attributeModifier, Microsoft.CodeAnalysis.SyntaxToken colonToken);
static member AttributeTarget : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeTargetSyntax
Public Shared Function AttributeTarget (attributeModifier As SyntaxToken, colonToken As SyntaxToken) As AttributeTargetSyntax

Parámetros

attributeModifier
SyntaxToken

El modificador de atributo "Assembly" o "Module", está presente. Si no hay ningún modificador de atributo presente, se devuelve Nothing.

colonToken
SyntaxToken

Token ":", si existe un modificador de atributo. Si no hay ningún modificador de atributo presente, se devuelve Nothing.

Devoluciones

Se aplica a