ModelEvent.GetAttributes 方法 (Type)
傳回在此事件上宣告之指定型別及事件處理常式型別的屬性。
命名空間: Microsoft.Windows.Design.Model
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public MustOverride Function GetAttributes ( _
attributeType As Type _
) As IEnumerable(Of Object)
public abstract IEnumerable<Object> GetAttributes(
Type attributeType
)
public:
virtual IEnumerable<Object^>^ GetAttributes(
Type^ attributeType
) abstract
abstract GetAttributes :
attributeType:Type -> IEnumerable<Object>
public abstract function GetAttributes(
attributeType : Type
) : IEnumerable<Object>
參數
- attributeType
型別:System.Type
需要屬性的 Type 物件。
傳回值
型別:System.Collections.Generic.IEnumerable<Object>
Type 物件的列舉,表示指定型別的屬性。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Model 命名空間