Partager via


DataViewPropertyDescriptor Constructor (String, String)

Initializes a new instance of the DataViewPropertyDescriptor class with the property name and a property display name.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    displayName As String _
)
public DataViewPropertyDescriptor(
    string name,
    string displayName
)
public:
DataViewPropertyDescriptor(
    String^ name, 
    String^ displayName
)
new : 
        name:string * 
        displayName:string -> DataViewPropertyDescriptor
public function DataViewPropertyDescriptor(
    name : String, 
    displayName : String
)

Parameters

Remarks

This constructor delegates the call to the DataViewPropertyDescriptor constructor and passes nulla null reference (Nothing in Visual Basic) for the category and description parameters, respectively, and ReadOnlyAttribute.Default.IsReadOnly for the isReadOnly parameter.

.NET Framework Security

See Also

Reference

DataViewPropertyDescriptor Class

DataViewPropertyDescriptor Overload

Microsoft.VisualStudio.Data.Framework Namespace