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
'Declaration
Public Sub New ( _
name As String, _
displayName As String, _
category As String, _
description As String _
)
'Usage
Dim name As String
Dim displayName As String
Dim category As String
Dim description As String
Dim instance As New DataViewPropertyDescriptor(name, displayName, _
category, description)
public DataViewPropertyDescriptor(
string name,
string displayName,
string category,
string description
)
public:
DataViewPropertyDescriptor(
String^ name,
String^ displayName,
String^ category,
String^ description
)
public function DataViewPropertyDescriptor(
name : String,
displayName : String,
category : String,
description : String
)
Parameters
name
Type: System.StringThe property name.
displayName
Type: System.StringA display name for the property. This parameter is used to create a DisplayNameAttribute.
category
Type: System.StringThe name of the category in which to group the property (in the property grid). This parameter is used to create a CategoryAttribute.
description
Type: System.StringThe description of the property. This property is used to create a DescriptionAttribute.
Remarks
This constructor delegates the call to the DataViewPropertyDescriptor constructor and passes ReadOnlyAttribute.Default.IsReadOnly for the isReadOnly parameter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataViewPropertyDescriptor Class
DataViewPropertyDescriptor Members