Uredi

Deli z drugimi prek


PropertyDescriptor Constructors

Definition

Initializes a new instance of the PropertyDescriptor class.

Overloads

PropertyDescriptor(MemberDescriptor)

Initializes a new instance of the PropertyDescriptor class with the name and attributes in the specified MemberDescriptor.

PropertyDescriptor(MemberDescriptor, Attribute[])

Initializes a new instance of the PropertyDescriptor class with the name in the specified MemberDescriptor and the attributes in both the MemberDescriptor and the Attribute array.

PropertyDescriptor(String, Attribute[])

Initializes a new instance of the PropertyDescriptor class with the specified name and attributes.

PropertyDescriptor(MemberDescriptor)

Source:
PropertyDescriptor.cs
Source:
PropertyDescriptor.cs
Source:
PropertyDescriptor.cs

Initializes a new instance of the PropertyDescriptor class with the name and attributes in the specified MemberDescriptor.

protected:
 PropertyDescriptor(System::ComponentModel::MemberDescriptor ^ descr);
protected PropertyDescriptor (System.ComponentModel.MemberDescriptor descr);
new System.ComponentModel.PropertyDescriptor : System.ComponentModel.MemberDescriptor -> System.ComponentModel.PropertyDescriptor
Protected Sub New (descr As MemberDescriptor)

Parameters

descr
MemberDescriptor

A MemberDescriptor that contains the name of the property and its attributes.

See also

Applies to

PropertyDescriptor(MemberDescriptor, Attribute[])

Source:
PropertyDescriptor.cs
Source:
PropertyDescriptor.cs
Source:
PropertyDescriptor.cs

Initializes a new instance of the PropertyDescriptor class with the name in the specified MemberDescriptor and the attributes in both the MemberDescriptor and the Attribute array.

protected:
 PropertyDescriptor(System::ComponentModel::MemberDescriptor ^ descr, cli::array <Attribute ^> ^ attrs);
protected PropertyDescriptor (System.ComponentModel.MemberDescriptor descr, Attribute[] attrs);
protected PropertyDescriptor (System.ComponentModel.MemberDescriptor descr, Attribute[]? attrs);
new System.ComponentModel.PropertyDescriptor : System.ComponentModel.MemberDescriptor * Attribute[] -> System.ComponentModel.PropertyDescriptor
Protected Sub New (descr As MemberDescriptor, attrs As Attribute())

Parameters

descr
MemberDescriptor

A MemberDescriptor containing the name of the member and its attributes.

attrs
Attribute[]

An Attribute array containing the attributes you want to associate with the property.

Remarks

This constructor appends the attributes in the Attribute array to the attributes in the MemberDescriptor.

See also

Applies to

PropertyDescriptor(String, Attribute[])

Source:
PropertyDescriptor.cs
Source:
PropertyDescriptor.cs
Source:
PropertyDescriptor.cs

Initializes a new instance of the PropertyDescriptor class with the specified name and attributes.

protected:
 PropertyDescriptor(System::String ^ name, cli::array <Attribute ^> ^ attrs);
protected PropertyDescriptor (string name, Attribute[] attrs);
protected PropertyDescriptor (string name, Attribute[]? attrs);
new System.ComponentModel.PropertyDescriptor : string * Attribute[] -> System.ComponentModel.PropertyDescriptor
Protected Sub New (name As String, attrs As Attribute())

Parameters

name
String

The name of the property.

attrs
Attribute[]

An array of type Attribute that contains the property attributes.

See also

Applies to