DataViewPropertyDescriptor Constructor (String, String, String)
Initializes a new instance of the DataViewPropertyDescriptor class with the property name, the property display name, and a category name.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
‘선언
Public Sub New ( _
name As String, _
displayName As String, _
category As String _
)
public DataViewPropertyDescriptor(
string name,
string displayName,
string category
)
public:
DataViewPropertyDescriptor(
String^ name,
String^ displayName,
String^ category
)
new :
name:string *
displayName:string *
category:string -> DataViewPropertyDescriptor
public function DataViewPropertyDescriptor(
name : String,
displayName : String,
category : String
)
Parameters
- name
Type: System.String
The property name.
- displayName
Type: System.String
A display name for the property. This parameter is used to create a DisplayNameAttribute.
- 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.
Remarks
This constructor delegates the call to the DataViewPropertyDescriptor constructor and passes nulla null reference (Nothing in Visual Basic) for the description parameters and 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