共用方式為


AttributedDomainElementHasAttributes.GetAttributes Method

Definition

Gets a list of Attributes.

public:
 static Microsoft::VisualStudio::Modeling::LinkedElementCollection<Microsoft::VisualStudio::Modeling::DslDefinition::ClrAttribute ^> ^ GetAttributes(Microsoft::VisualStudio::Modeling::DslDefinition::AttributedDomainElement ^ element);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.LinkedElementCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute> GetAttributes (Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement element);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetAttributes : Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement -> Microsoft.VisualStudio.Modeling.LinkedElementCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute>
Public Shared Function GetAttributes (element As AttributedDomainElement) As LinkedElementCollection(Of ClrAttribute)

Parameters

Returns

Attributes

Applies to