Share via


SyntaxFactory.AttributeTarget Method

Definition

Overloads

AttributeTarget(SyntaxToken)

Represents a single attribute declaration within an attribute list.

AttributeTarget(SyntaxToken, SyntaxToken)

Represents a single attribute declaration within an attribute list.

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

Represents a single attribute declaration within an attribute list.

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

Parameters

attributeModifier
SyntaxToken

The "Assembly" or "Module" attribute modifier, is present. If no attribute modifier is present, Nothing is returned.

Returns

Applies to

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

Represents a single attribute declaration within an attribute list.

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

Parameters

attributeModifier
SyntaxToken

The "Assembly" or "Module" attribute modifier, is present. If no attribute modifier is present, Nothing is returned.

colonToken
SyntaxToken

The ":" token, if an attribute modifier is present. If no attribute modifier is present, Nothing is returned.

Returns

Applies to