取得在此屬性 (Property) 上宣告之要求型別及此屬性 (Property) 之屬性 (Property) 型別的屬性 (Attribute)。
命名空間: Microsoft.Windows.Design.Model
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public Overridable Function GetAttributes ( _
attributeTypeIdentifier As TypeIdentifier _
) As IEnumerable(Of Object)
public virtual IEnumerable<Object> GetAttributes(
TypeIdentifier attributeTypeIdentifier
)
public:
virtual IEnumerable<Object^>^ GetAttributes(
TypeIdentifier attributeTypeIdentifier
)
abstract GetAttributes :
attributeTypeIdentifier:TypeIdentifier -> IEnumerable<Object>
override GetAttributes :
attributeTypeIdentifier:TypeIdentifier -> IEnumerable<Object>
public function GetAttributes(
attributeTypeIdentifier : TypeIdentifier
) : IEnumerable<Object>
參數
- attributeTypeIdentifier
型別:Microsoft.Windows.Design.Metadata.TypeIdentifier
要求之型別的識別項。
傳回值
型別:System.Collections.Generic.IEnumerable<Object>
在這個屬性 (Property) 以及屬性 (Property) 的屬性 (Property) 型別上宣告之要求型別的屬性 (Attribute) 集合。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Model 命名空間