次の方法で共有


PropertyGridObject.ICustomTypeDescriptor.GetDefaultProperty メソッド

定義

プロパティ グリッドの既定のプロパティを返します。

 virtual System::ComponentModel::PropertyDescriptor ^ System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty() = System::ComponentModel::ICustomTypeDescriptor::GetDefaultProperty;
System.ComponentModel.PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty ();
Function GetDefaultProperty () As PropertyDescriptor Implements ICustomTypeDescriptor.GetDefaultProperty

戻り値

既定の PropertyDescriptor プロパティを含むオブジェクト。 null プロパティがない場合は 。

実装

次の例では、 メソッドを <xref:Microsoft.Web.Management.Client.PropertyGridObject.System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty%2A> 複製します。

PropertyDescriptor MyGetDefaultProperty() {
    return TypeDescriptor.GetDefaultProperty(this, true);
} 

適用対象