Initializes a new instance of the DataViewPropertyDescriptor class with the property name and an array of attributes.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Sub New ( _
name As String, _
ParamArray attributes As Attribute() _
)
'使用
Dim name As String
Dim attributes As Attribute()
Dim instance As New DataViewPropertyDescriptor(name, attributes)
public DataViewPropertyDescriptor(
string name,
params Attribute[] attributes
)
public:
DataViewPropertyDescriptor(
String^ name,
... array<Attribute^>^ attributes
)
public function DataViewPropertyDescriptor(
name : String,
... attributes : Attribute[]
)
Parameters
name
Type: System.StringThe property name.
attributes
Type: []An array containing the property attributes.
Permissions
- 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