DataConnectionProperties.ICustomTypeDescriptor.GetDefaultProperty 方法
擷取指定之物件的預設屬性。
命名空間: Microsoft.VisualStudio.Data.Framework
組件: 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 不支援明確介面實作。
傳回值
類型:PropertyDescriptor
PropertyDescriptor 表示這個物件的預設屬性,或 nullnull 參考 (即 Visual Basic 中的 Nothing) (如果這個物件沒有屬性。
實作
ICustomTypeDescriptor.GetDefaultProperty
備註
這個方法會提供 GetDefaultProperty 方法的實作。 如需詳細資訊,請參閱 GetDefaultProperty 方法至 .NET Framework 類別庫中。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。