次の方法で共有


PropertyGridObject.ICustomTypeDescriptor.GetPropertyOwner メソッド

定義

プロパティ グリッドを含む オブジェクトを返します。

 virtual System::Object ^ System.ComponentModel.ICustomTypeDescriptor.GetPropertyOwner(System::ComponentModel::PropertyDescriptor ^ pd) = System::ComponentModel::ICustomTypeDescriptor::GetPropertyOwner;
object ICustomTypeDescriptor.GetPropertyOwner(System.ComponentModel.PropertyDescriptor pd);
Function GetPropertyOwner (pd As PropertyDescriptor) As Object Implements ICustomTypeDescriptor.GetPropertyOwner

パラメーター

pd
PropertyDescriptor

PropertyDescriptor オブジェクト。

戻り値

Objectプロパティ グリッドの所有者を表す 。

実装

次の例では、 メソッドを ICustomTypeDescriptor.GetPropertyOwner 複製しています。

object MyGetPropertyOwner(PropertyDescriptor pd) {
    return this;
} 

注釈

pdパラメーターは使用されません。

適用対象