AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetDefaultProperty 方法
擷取指定物件的預設屬性。
命名空間: Microsoft.VisualStudio.Data.Framework.AdoDotNet
組件: Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)
語法
'宣告
Private Function GetDefaultProperty As PropertyDescriptor
Implements ICustomTypeDescriptor.GetDefaultProperty
PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
private:
virtual PropertyDescriptor^ GetDefaultProperty() sealed = ICustomTypeDescriptor::GetDefaultProperty
private abstract GetDefaultProperty : unit -> PropertyDescriptor
private override GetDefaultProperty : unit -> PropertyDescriptor
JScript 不支援明確介面實作。
傳回值
型別:System.ComponentModel.PropertyDescriptor
PropertyDescriptor 表示這個物件的預設屬性或 nullNull 參照 (即 Visual Basic 中的 Nothing) ,如果此物件沒有屬性。
實作
ICustomTypeDescriptor.GetDefaultProperty()
備註
這個方法 GetDefaultProperty 提供方法的實作。 如需詳細資訊,請參閱 .NET Framework 類別庫 (Class Library GetDefaultProperty 方法。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。