Freigeben über


DataViewPropertyDescriptor Constructors

Definition

Overloads

DataViewPropertyDescriptor(PropertyDescriptor)

Initializes a new instance of the DataViewPropertyDescriptor class with the property descriptor object.

DataViewPropertyDescriptor(String)

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

DataViewPropertyDescriptor(PropertyDescriptor, Attribute[])

Initializes a new instance of the DataViewPropertyDescriptor class with the property descriptor object and an array of attributes.

DataViewPropertyDescriptor(String, Attribute[])

Initializes a new instance of the DataViewPropertyDescriptor class with the property name and an array of attributes.

DataViewPropertyDescriptor(String, String)

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

DataViewPropertyDescriptor(String, String, String)

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

DataViewPropertyDescriptor(String, String, String, String)

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.

DataViewPropertyDescriptor(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.

DataViewPropertyDescriptor(PropertyDescriptor)

Initializes a new instance of the DataViewPropertyDescriptor class with the property descriptor object.

public:
 DataViewPropertyDescriptor(System::ComponentModel::PropertyDescriptor ^ baseDescriptor);
public DataViewPropertyDescriptor (System.ComponentModel.PropertyDescriptor baseDescriptor);
new Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor : System.ComponentModel.PropertyDescriptor -> Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor
Public Sub New (baseDescriptor As PropertyDescriptor)

Parameters

baseDescriptor
PropertyDescriptor

A PropertyDescriptor object representing a base descriptor.

Applies to

DataViewPropertyDescriptor(String)

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

public:
 DataViewPropertyDescriptor(System::String ^ name);
public DataViewPropertyDescriptor (string name);
new Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor : string -> Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor
Public Sub New (name As String)

Parameters

name
String

The name of the property.

Applies to

DataViewPropertyDescriptor(PropertyDescriptor, Attribute[])

Initializes a new instance of the DataViewPropertyDescriptor class with the property descriptor object and an array of attributes.

public:
 DataViewPropertyDescriptor(System::ComponentModel::PropertyDescriptor ^ baseDescriptor, ... cli::array <Attribute ^> ^ newAttributes);
public DataViewPropertyDescriptor (System.ComponentModel.PropertyDescriptor baseDescriptor, params Attribute[] newAttributes);
new Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor : System.ComponentModel.PropertyDescriptor * Attribute[] -> Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor
Public Sub New (baseDescriptor As PropertyDescriptor, ParamArray newAttributes As Attribute())

Parameters

baseDescriptor
PropertyDescriptor

A PropertyDescriptor object representing a base descriptor.

newAttributes
Attribute[]

An array of property attributes.

Applies to

DataViewPropertyDescriptor(String, Attribute[])

Initializes a new instance of the DataViewPropertyDescriptor class with the property name and an array of attributes.

public:
 DataViewPropertyDescriptor(System::String ^ name, ... cli::array <Attribute ^> ^ attributes);
public DataViewPropertyDescriptor (string name, params Attribute[] attributes);
new Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor : string * Attribute[] -> Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor
Public Sub New (name As String, ParamArray attributes As Attribute())

Parameters

name
String

The property name.

attributes
Attribute[]

An array containing the property attributes.

Applies to

DataViewPropertyDescriptor(String, String)

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

public:
 DataViewPropertyDescriptor(System::String ^ name, System::String ^ displayName);
public DataViewPropertyDescriptor (string name, string displayName);
new Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor : string * string -> Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor
Public Sub New (name As String, displayName As String)

Parameters

name
String

The property name.

displayName
String

A display name for the property. This parameter is used to add a DisplayNameAttribute.

Applies to

DataViewPropertyDescriptor(String, String, String)

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

public:
 DataViewPropertyDescriptor(System::String ^ name, System::String ^ displayName, System::String ^ category);
public DataViewPropertyDescriptor (string name, string displayName, string category);
new Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor : string * string * string -> Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor
Public Sub New (name As String, displayName As String, category As String)

Parameters

name
String

The property name.

displayName
String

A display name for the property. This parameter is used to create a DisplayNameAttribute.

category
String

The name of the category in which to group the property (in the property grid). This parameter is used to create a CategoryAttribute.

Applies to

DataViewPropertyDescriptor(String, String, String, String)

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.

public:
 DataViewPropertyDescriptor(System::String ^ name, System::String ^ displayName, System::String ^ category, System::String ^ description);
public DataViewPropertyDescriptor (string name, string displayName, string category, string description);
new Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor : string * string * string * string -> Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor
Public Sub New (name As String, displayName As String, category As String, description As String)

Parameters

name
String

The property name.

displayName
String

A display name for the property. This parameter is used to create a DisplayNameAttribute.

category
String

The name of the category in which to group the property (in the property grid). This parameter is used to create a CategoryAttribute.

description
String

The description of the property. This property is used to create a DescriptionAttribute.

Applies to

DataViewPropertyDescriptor(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.

public:
 DataViewPropertyDescriptor(System::String ^ name, System::String ^ displayName, System::String ^ category, System::String ^ description, bool isReadOnly);
public DataViewPropertyDescriptor (string name, string displayName, string category, string description, bool isReadOnly);
new Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor : string * string * string * string * bool -> Microsoft.VisualStudio.Data.Framework.DataViewPropertyDescriptor
Public Sub New (name As String, displayName As String, category As String, description As String, isReadOnly As Boolean)

Parameters

name
String

The property name.

displayName
String

A display name for the property. This property is used to create a DisplayNameAttribute.

category
String

The name of the category in which to group the property (in the property grid). This parameter is used to create a CategoryAttribute.

description
String

The description of the property. This property is used to create a DescriptionAttribute.

isReadOnly
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.

Applies to