PropertyGridObject.ICustomTypeDescriptor.GetDefaultProperty メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
プロパティ グリッドの既定のプロパティを返します。
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);
}