DependencyPropertyDescriptor.FromName メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定されたプロパティ名の DependencyPropertyDescriptor を返します。
オーバーロード
| 名前 | 説明 |
|---|---|
| FromName(String, Type, Type) |
指定されたプロパティ名の DependencyPropertyDescriptor を返します。 |
| FromName(String, Type, Type, Boolean) |
指定されたプロパティ名の DependencyPropertyDescriptor を返します。 |
FromName(String, Type, Type)
指定されたプロパティ名の DependencyPropertyDescriptor を返します。
public:
static System::ComponentModel::DependencyPropertyDescriptor ^ FromName(System::String ^ name, Type ^ ownerType, Type ^ targetType);
public static System.ComponentModel.DependencyPropertyDescriptor FromName(string name, Type ownerType, Type targetType);
static member FromName : string * Type * Type -> System.ComponentModel.DependencyPropertyDescriptor
Public Shared Function FromName (name As String, ownerType As Type, targetType As Type) As DependencyPropertyDescriptor
パラメーター
- name
- String
依存関係プロパティまたは添付プロパティの登録済みの名前。
返品
要求された DependencyPropertyDescriptor。
注釈
nameは依存関係プロパティまたは添付プロパティを参照する可能性があり、問題のプロパティを定義したnameまたはRegister呼び出しに渡されるRegisterAttached パラメーターです。
ownerType はプロパティを所有するオブジェクトの型であり、 Register または RegisterAttachedに渡されます。
targetType は、プロパティを設定するオブジェクトの型です。 依存関係プロパティの場合、 ownerType と targetType は同じ型です。 添付プロパティの場合、通常は異なります。
適用対象
FromName(String, Type, Type, Boolean)
指定されたプロパティ名の DependencyPropertyDescriptor を返します。
public:
static System::ComponentModel::DependencyPropertyDescriptor ^ FromName(System::String ^ name, Type ^ ownerType, Type ^ targetType, bool ignorePropertyType);
public static System.ComponentModel.DependencyPropertyDescriptor FromName(string name, Type ownerType, Type targetType, bool ignorePropertyType);
static member FromName : string * Type * Type * bool -> System.ComponentModel.DependencyPropertyDescriptor
Public Shared Function FromName (name As String, ownerType As Type, targetType As Type, ignorePropertyType As Boolean) As DependencyPropertyDescriptor
パラメーター
- name
- String
依存関係プロパティまたは添付プロパティの登録済みの名前。
- ignorePropertyType
- Boolean
プロパティの種類を無視するように指定します。
返品
要求された DependencyPropertyDescriptor。
注釈
nameは依存関係プロパティまたは添付プロパティを参照する可能性があり、問題のプロパティを定義したnameまたはRegister呼び出しに渡されるRegisterAttached パラメーターです。
ownerType はプロパティを所有するオブジェクトの型であり、 Register または RegisterAttachedに渡されます。
targetType は、プロパティを設定するオブジェクトの型です。 依存関係プロパティの場合、 ownerType と targetType は同じ型です。 添付プロパティの場合、通常は異なります。