次の方法で共有


ModelProperty.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>

パラメーター

戻り値

型: System.Collections.Generic.IEnumerable<Object>
このプロパティで宣言され、プロパティのプロパティ型である、要求された型の属性のコレクション。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

ModelProperty クラス

GetAttributes オーバーロード

Microsoft.Windows.Design.Model 名前空間

その他の技術情報

WPF デザイナーの機能拡張アーキテクチャ