Initializes a new instance of the DataViewPropertyDescriptor class with the property descriptor object 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 ( _
baseDescriptor As PropertyDescriptor, _
ParamArray newAttributes As Attribute() _
)
'使用
Dim baseDescriptor As PropertyDescriptor
Dim newAttributes As Attribute()
Dim instance As New DataViewPropertyDescriptor(baseDescriptor, _
newAttributes)
public DataViewPropertyDescriptor(
PropertyDescriptor baseDescriptor,
params Attribute[] newAttributes
)
public:
DataViewPropertyDescriptor(
PropertyDescriptor^ baseDescriptor,
... array<Attribute^>^ newAttributes
)
public function DataViewPropertyDescriptor(
baseDescriptor : PropertyDescriptor,
... newAttributes : Attribute[]
)
Parameters
baseDescriptor
Type: System.ComponentModel.PropertyDescriptorA PropertyDescriptor object representing a base descriptor.
newAttributes
Type: []An array of 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