DataViewPropertyDescriptor.SetCategory, méthode

Définit l'attribut de catégorie, à l'aide de la valeur spécifiée de catégorie.

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

Syntaxe

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

Paramètres

  • value
    Type : String

    La valeur de catégorie utilisée pour créer et ajouter CategoryAttribute. Spécifiez nullune référence null (Nothing en Visual Basic) pour utiliser la valeur d'attribut de catégorie par défaut.

Sécurité .NET Framework

Voir aussi

Référence

DataViewPropertyDescriptor Classe

Microsoft.VisualStudio.Data.Framework, espace de noms