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


DataConnectionProperties.ICustomTypeDescriptor.GetDefaultProperty - метод

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

Пространство имен:  Microsoft.VisualStudio.Data
Сборка:  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

См. также

Ссылки

DataConnectionProperties Класс

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