現在の既定のプロパティを参照するオブジェクトを取得します。
名前空間: Microsoft.VisualStudio.Data.Framework
アセンブリ: Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.dll 内)
構文
'宣言
Public Overridable Function GetDefaultProperty As PropertyDescriptor
public virtual PropertyDescriptor GetDefaultProperty()
public:
virtual PropertyDescriptor^ GetDefaultProperty()
abstract GetDefaultProperty : unit -> PropertyDescriptor
override GetDefaultProperty : unit -> PropertyDescriptor
public function GetDefaultProperty() : PropertyDescriptor
戻り値
型 : System.ComponentModel.PropertyDescriptor
プロパティがない場合は現在の既定のプロパティを参照するオブジェクト、または nullnull 参照 (Visual Basic では Nothing) を返します。
実装
ICustomTypeDescriptor.GetDefaultProperty()
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。