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
name
Type: System.StringThe property name.
displayName
Type: System.StringA display name for the property. This parameter is used to add a DisplayNameAttribute.
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
- 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