DataViewPropertyDescriptor Constructor (PropertyDescriptor, array<Attribute )
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() _
)
public DataViewPropertyDescriptor(
PropertyDescriptor baseDescriptor,
params Attribute[] newAttributes
)
public:
DataViewPropertyDescriptor(
PropertyDescriptor^ baseDescriptor,
... array<Attribute^>^ newAttributes
)
new :
baseDescriptor:PropertyDescriptor *
newAttributes:Attribute[] -> DataViewPropertyDescriptor
public function DataViewPropertyDescriptor(
baseDescriptor : PropertyDescriptor,
... newAttributes : Attribute[]
)
Parameters
- baseDescriptor
Type: System.ComponentModel.PropertyDescriptor
A PropertyDescriptor object representing a base descriptor.
- newAttributes
Type: array<System.Attribute[]
An array of property attributes.
.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