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


DataViewBrowseObject.GetProperties - метод (array<Attribute )

Извлекает коллекцию PropertyDescriptorCollection свойств, соответствующими заданным атрибутам для просмотра текущего объекта.

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

Синтаксис

'Декларация
Public Overridable Function GetProperties ( _
    attributes As Attribute() _
) As PropertyDescriptorCollection
public virtual PropertyDescriptorCollection GetProperties(
    Attribute[] attributes
)
public:
virtual PropertyDescriptorCollection^ GetProperties(
    array<Attribute^>^ attributes
)
abstract GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection 
override GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection 
public function GetProperties(
    attributes : Attribute[]
) : PropertyDescriptorCollection

Параметры

  • attributes
    Тип: array<System.Attribute[]
    Массив Attribute возражает в качестве фильтра для свойства.

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

Тип: System.ComponentModel.PropertyDescriptorCollection
Возвращает коллекцию, содержащую PropertyDescriptorCollection свойств, соответствующими заданным атрибутам для просмотра текущего объекта.

Реализации

ICustomTypeDescriptor.GetProperties(array<Attribute[])

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

См. также

Ссылки

DataViewBrowseObject Класс

GetProperties - перегрузка

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