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


DataViewBrowseObject.GetDefaultProperty - метод

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

Пространство имен:  Microsoft.VisualStudio.Data.Framework
Сборка:  Microsoft.VisualStudio.Data.Framework (в Microsoft.VisualStudio.Data.Framework.dll)

Синтаксис

'Декларация
Public Overridable Function GetDefaultProperty As PropertyDescriptor
public virtual PropertyDescriptor GetDefaultProperty()
public:
virtual PropertyDescriptor^ GetDefaultProperty()
abstract GetDefaultProperty : unit -> PropertyDescriptor  
override GetDefaultProperty : unit -> PropertyDescriptor
public function GetDefaultProperty() : PropertyDescriptor

Возвращаемое значение

Тип: PropertyDescriptor
Возвращает свойство по умолчанию для текущего просмотр объекта или nullссылка NULL (Nothing в Visual Basic) при отсутствии свойства.

Реализации

ICustomTypeDescriptor.GetDefaultProperty

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

См. также

Ссылки

DataViewBrowseObject Класс

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