ISymbol.GetAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.