SyntaxFactory.AttributeTarget 方法

定义

重载

AttributeTarget(SyntaxToken)

表示属性列表中的单个属性声明。

AttributeTarget(SyntaxToken, SyntaxToken)

表示属性列表中的单个属性声明。

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

表示属性列表中的单个属性声明。

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

参数

attributeModifier
SyntaxToken

存在“Assembly”或“Module”属性修饰符。 如果没有属性修饰符,则返回 Nothing。

返回

适用于

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

表示属性列表中的单个属性声明。

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

参数

attributeModifier
SyntaxToken

存在“Assembly”或“Module”属性修饰符。 如果没有属性修饰符,则返回 Nothing。

colonToken
SyntaxToken

如果存在属性修饰符,则为“:”标记。 如果没有属性修饰符,则返回 Nothing。

返回

适用于