Share via


SyntaxExtensions.Attributes(AsClauseSyntax) Method

Definition

Returns the AttributeBlockSyntax of the given AsClauseSyntax if specified.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeListSyntax ^> Attributes(Microsoft::CodeAnalysis::VisualBasic::Syntax::AsClauseSyntax ^ asClauseSyntax);
public static Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> Attributes (this Microsoft.CodeAnalysis.VisualBasic.Syntax.AsClauseSyntax asClauseSyntax);
static member Attributes : Microsoft.CodeAnalysis.VisualBasic.Syntax.AsClauseSyntax -> Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax>
<Extension()>
Public Function Attributes (asClauseSyntax As AsClauseSyntax) As SyntaxList(Of AttributeListSyntax)

Parameters

asClauseSyntax
AsClauseSyntax

Returns

Applies to