AttributedDomainElementHasAttributes.GetAttributes 方法

获取属性列表。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

语法

声明
Public Shared Function GetAttributes ( _
    element As AttributedDomainElement _
) As LinkedElementCollection(Of ClrAttribute)
public static LinkedElementCollection<ClrAttribute> GetAttributes(
    AttributedDomainElement element
)

参数

返回值

类型:Microsoft.VisualStudio.Modeling.LinkedElementCollection<ClrAttribute>

.NET Framework 安全性

请参见

参考

AttributedDomainElementHasAttributes 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间