DataViewPropertyDescriptor.SetAttribute, méthode

Ajoute l'attribut spécifié à la liste d'attributs de cette propriété.

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

Syntaxe

'Déclaration
Public Sub SetAttribute ( _
    value As Attribute _
)
public void SetAttribute(
    Attribute value
)
public:
void SetAttribute(
    Attribute^ value
)
member SetAttribute : 
        value:Attribute -> unit
public function SetAttribute(
    value : Attribute
)

Paramètres

  • value
    Type : Attribute

    L'attribut à ajouter.

Exceptions

Exception Condition
ArgumentNullException

Le paramètre value a la valeur nullune référence null (Nothing en Visual Basic).

Sécurité .NET Framework

Voir aussi

Référence

DataViewPropertyDescriptor Classe

Microsoft.VisualStudio.Data.Framework, espace de noms