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
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Использование библиотек из не вполне надежного кода.