AttributedDomainElementHasAttributes.GetAttributes Method
Gets a list of Attributes.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public Shared Function GetAttributes ( _
element As AttributedDomainElement _
) As LinkedElementCollection(Of ClrAttribute)
public static LinkedElementCollection<ClrAttribute> GetAttributes(
AttributedDomainElement element
)
public:
static LinkedElementCollection<ClrAttribute^>^ GetAttributes(
AttributedDomainElement^ element
)
static member GetAttributes :
element:AttributedDomainElement -> LinkedElementCollection<ClrAttribute>
public static function GetAttributes(
element : AttributedDomainElement
) : LinkedElementCollection<ClrAttribute>
Parameters
Return Value
Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<ClrAttribute>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.