Partager via


DataViewPropertyDescriptor, constructeur (String, String, String, String)

Initialise une nouvelle instance de la classe d' DataViewPropertyDescriptor avec un nom de propriété, une version différente du nom de propriété pour l'affichage, un nom de catégorie, et une description.

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

Syntaxe

'Déclaration
Public Sub New ( _
    name As String, _
    displayName As String, _
    category As String, _
    description As String _
)
public DataViewPropertyDescriptor(
    string name,
    string displayName,
    string category,
    string description
)
public:
DataViewPropertyDescriptor(
    String^ name, 
    String^ displayName, 
    String^ category, 
    String^ description
)
new : 
        name:string * 
        displayName:string * 
        category:string * 
        description:string -> DataViewPropertyDescriptor
public function DataViewPropertyDescriptor(
    name : String, 
    displayName : String, 
    category : String, 
    description : String
)

Paramètres

  • category
    Type : System.String
    Le nom de la catégorie dans laquelle grouper la propriété (dans la grille des propriétés).Ce paramètre est utilisé pour créer CategoryAttribute.

Notes

Ce constructeur délègue l'appel au constructeur d' DataViewPropertyDescriptor et passe ReadOnlyAttribute.Default.IsReadOnly isReadOnly pour le paramètre.

Sécurité .NET Framework

Voir aussi

Référence

DataViewPropertyDescriptor Classe

DataViewPropertyDescriptor, surcharge

Microsoft.VisualStudio.Data.Framework, espace de noms