ISymbol.GetAttributes 方法

定义

获取符号的属性。 如果没有属性,则返回空 IEnumerable<T>

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)

返回

适用于