更新 : 2007 年 11 月
派生クラスでオーバーライドされた場合、指定した型について変換するプロパティを格納する列挙体を返します。
名前空間 : Microsoft.Windows.Design.Services
アセンブリ : Microsoft.Windows.Design.Extensibility (Microsoft.Windows.Design.Extensibility.dll 内)
構文
'宣言
Public MustOverride Function GetProperties ( _
itemType As Type _
) As IEnumerable(Of PropertyIdentifier)
'使用
Dim instance As ValueTranslationService
Dim itemType As Type
Dim returnValue As IEnumerable(Of PropertyIdentifier)
returnValue = instance.GetProperties(itemType)
public abstract IEnumerable<PropertyIdentifier> GetProperties(
Type itemType
)
public:
virtual IEnumerable<PropertyIdentifier^>^ GetProperties(
Type^ itemType
) abstract
public abstract function GetProperties(
itemType : Type
) : IEnumerable<PropertyIdentifier>
パラメータ
itemType
型 : System.Type変換するプロパティを取得する型。
戻り値
型 : System.Collections.Generic.IEnumerable<PropertyIdentifier>
指定した型について変換するプロパティを格納する列挙体 (存在する場合)。
解説
カスタム コントロールの作成者は、指定した型についてキャプチャおよび変換するプロパティを、Properties に追加することによって指定します。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
Microsoft.Windows.Design.Services 名前空間