Compartir a través de


DataViewPropertyDescriptor Constructor (String, String, String, String, Boolean)

Initializes a new instance of the DataViewPropertyDescriptor class with the property name, another version of the property name for display purposes, a category name, and a description.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaración
Public Sub New ( _
    name As String, _
    displayName As String, _
    category As String, _
    description As String, _
    isReadOnly As Boolean _
)
public DataViewPropertyDescriptor(
    string name,
    string displayName,
    string category,
    string description,
    bool isReadOnly
)
public:
DataViewPropertyDescriptor(
    String^ name, 
    String^ displayName, 
    String^ category, 
    String^ description, 
    bool isReadOnly
)
new : 
        name:string * 
        displayName:string * 
        category:string * 
        description:string * 
        isReadOnly:bool -> DataViewPropertyDescriptor
public function DataViewPropertyDescriptor(
    name : String, 
    displayName : String, 
    category : String, 
    description : String, 
    isReadOnly : boolean
)

Parameters

  • category
    Type: System.String
    The name of the category in which to group the property (in the property grid). This parameter is used to create a CategoryAttribute.
  • isReadOnly
    Type: System.Boolean
    A Boolean value indicating whether the property is read-only. If this value is different from ReadOnlyAttribute.Default.IsReadOnly, it is used to create a ReadOnlyAttribute.

.NET Framework Security

See Also

Reference

DataViewPropertyDescriptor Class

DataViewPropertyDescriptor Overload

Microsoft.VisualStudio.Data.Framework Namespace