共用方式為


EnumerationHasAttributes.GetAttributes Method

Gets a list of Attributes.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
Public Shared Function GetAttributes ( _
    element As DomainEnumeration _
) As LinkedElementCollection(Of ClrAttribute)
public static LinkedElementCollection<ClrAttribute> GetAttributes(
    DomainEnumeration element
)
public:
static LinkedElementCollection<ClrAttribute^>^ GetAttributes(
    DomainEnumeration^ element
)
static member GetAttributes : 
        element:DomainEnumeration -> LinkedElementCollection<ClrAttribute> 
public static function GetAttributes(
    element : DomainEnumeration
) : LinkedElementCollection<ClrAttribute>

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<ClrAttribute>

.NET Framework Security

See Also

Reference

EnumerationHasAttributes Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace