다음을 통해 공유


SyntaxFactory.Attribute 메서드

정의

오버로드

Attribute(TypeSyntax)

특성 목록 내의 단일 특성 선언을 나타냅니다.

Attribute(AttributeTargetSyntax, TypeSyntax, ArgumentListSyntax)

특성 목록 내의 단일 특성 선언을 나타냅니다.

Attribute(TypeSyntax)

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
Source:
Syntax.xml.Main.Generated.vb

특성 목록 내의 단일 특성 선언을 나타냅니다.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeSyntax ^ Attribute(Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ name);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeSyntax Attribute (Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax name);
static member Attribute : Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeSyntax
Public Shared Function Attribute (name As TypeSyntax) As AttributeSyntax

매개 변수

name
TypeSyntax

특성 이름입니다.

반환

적용 대상

Attribute(AttributeTargetSyntax, TypeSyntax, ArgumentListSyntax)

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
Source:
Syntax.xml.Main.Generated.vb

특성 목록 내의 단일 특성 선언을 나타냅니다.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeSyntax ^ Attribute(Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeTargetSyntax ^ target, Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ name, Microsoft::CodeAnalysis::VisualBasic::Syntax::ArgumentListSyntax ^ argumentList);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeSyntax Attribute (Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeTargetSyntax target, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax name, Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax argumentList);
static member Attribute : Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeTargetSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeSyntax
Public Shared Function Attribute (target As AttributeTargetSyntax, name As TypeSyntax, argumentList As ArgumentListSyntax) As AttributeSyntax

매개 변수

target
AttributeTargetSyntax

선택적 특성 대상입니다. 어셈블리| 모듈:

name
TypeSyntax

특성 이름입니다.

argumentList
ArgumentListSyntax

인수 목록(있는 경우)입니다. 인수 목록을 제공하지 않으면 Nothing이 반환됩니다.

반환

적용 대상