DataViewBrowseObject.GetProperties, méthode (array<Attribute[])

Extrait une collection d'PropertyDescriptorCollection de propriétés qui correspondent aux attributs spécifiés pour la valeur Actuelle parcourent l'objet.

Espace de noms :  Microsoft.VisualStudio.Data.Framework
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
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

Paramètres

  • attributes
    Type : array<Attribute[]

    Tableau d'objets Attribute comme filtre pour les propriétés retournent.

Valeur de retour

Type : PropertyDescriptorCollection
Retourne une collection d'PropertyDescriptorCollection contenant les propriétés qui correspondent aux attributs spécifiés pour la valeur Actuelle parcourent l'objet.

Implémentations

ICustomTypeDescriptor.GetProperties(Attribute)

Sécurité .NET Framework

Voir aussi

Référence

DataViewBrowseObject Classe

GetProperties, surcharge

Microsoft.VisualStudio.Data.Framework, espace de noms