Поделиться через


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetDefaultProperty - метод

Возвращает свойство по умолчанию для указанного объекта.

Пространство имен:  Microsoft.VisualStudio.Data.AdoDotNet
Сборка:  Microsoft.VisualStudio.Data (в Microsoft.VisualStudio.Data.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, представляющий свойство по умолчанию для данного объекта или возвращает nullссылка NULL (Nothing в Visual Basic), если этот объект не имеет свойства.

Реализации

ICustomTypeDescriptor.GetDefaultProperty

Заметки

Этот метод предоставляет реализацию метода GetDefaultProperty. Дополнительные сведения см. в описании метода GetDefaultProperty в библиотеке классов .NET Framework.

Безопасность платформы .NET Framework

См. также

Ссылки

AdoDotNetConnectionProperties Класс

Microsoft.VisualStudio.Data.AdoDotNet - пространство имен