PropertyDescriptor Construtores
Definição
Inicializa uma nova instância da classe PropertyDescriptor.Initializes a new instance of the PropertyDescriptor class.
Sobrecargas
| PropertyDescriptor(MemberDescriptor) |
Inicializa uma nova instância da classe PropertyDescriptor com o nome e os atributos no MemberDescriptor especificado.Initializes a new instance of the PropertyDescriptor class with the name and attributes in the specified MemberDescriptor. |
| PropertyDescriptor(MemberDescriptor, Attribute[]) |
Inicializa uma nova instância da classe PropertyDescriptor com o nome no MemberDescriptor especificado e os atributos tanto no MemberDescriptor quanto na matriz 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[]) |
Inicializa uma nova instância da classe PropertyDescriptor com o nome e os atributos especificados.Initializes a new instance of the PropertyDescriptor class with the specified name and attributes. |
PropertyDescriptor(MemberDescriptor)
Inicializa uma nova instância da classe PropertyDescriptor com o nome e os atributos no MemberDescriptor especificado.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)
Parâmetros
- descr
- MemberDescriptor
Um MemberDescriptor que contém o nome da propriedade e seus atributos.A MemberDescriptor that contains the name of the property and its attributes.
Confira também
Aplica-se a
PropertyDescriptor(MemberDescriptor, Attribute[])
Inicializa uma nova instância da classe PropertyDescriptor com o nome no MemberDescriptor especificado e os atributos tanto no MemberDescriptor quanto na matriz 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.
protected:
PropertyDescriptor(System::ComponentModel::MemberDescriptor ^ descr, cli::array <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())
Parâmetros
- descr
- MemberDescriptor
Um MemberDescriptor que contém o nome do membro e seus atributos.A MemberDescriptor containing the name of the member and its attributes.
- attrs
- Attribute[]
Uma matriz Attribute que contém os atributos que você deseja associar à propriedade.An Attribute array containing the attributes you want to associate with the property.
Comentários
Esse construtor acrescenta os atributos na Attribute matriz aos atributos no MemberDescriptor .This constructor appends the attributes in the Attribute array to the attributes in the MemberDescriptor.
Confira também
Aplica-se a
PropertyDescriptor(String, Attribute[])
Inicializa uma nova instância da classe PropertyDescriptor com o nome e os atributos especificados.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);
new System.ComponentModel.PropertyDescriptor : string * Attribute[] -> System.ComponentModel.PropertyDescriptor
Protected Sub New (name As String, attrs As Attribute())
Parâmetros
- name
- String
O nome da propriedade.The name of the property.
- attrs
- Attribute[]
Uma matriz do tipo Attribute que contém os atributos da propriedade.An array of type Attribute that contains the property attributes.