Udostępnij za pośrednictwem


ISymbol.GetAttributes Method

Definition

Gets the attributes for the symbol. Returns an empty IEnumerable<T> if there are no attributes.

public:
 System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::AttributeData ^> GetAttributes();
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AttributeData> GetAttributes ();
abstract member GetAttributes : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AttributeData>
Public Function GetAttributes () As ImmutableArray(Of AttributeData)

Returns

Applies to