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


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

Реализации

ICustomTypeDescriptor.GetDefaultProperty

Заметки

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

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

См. также

Ссылки

DataConnectionProperties Класс

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