PropertyTab.GetProperties Metodo

Definizione

Ottiene le proprietà del componente specificato.

Overload

GetProperties(Object)

Ottiene le proprietà del componente specificato.

GetProperties(Object, Attribute[])

Ottiene le proprietà del componente specificato che corrispondono agli attributi specificati.

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Ottiene le proprietà del componente specificato che corrispondono agli attributi e al contesto specificati.

GetProperties(Object)

Ottiene le proprietà del componente specificato.

public:
 virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties (object component);
public virtual System.ComponentModel.PropertyDescriptorCollection? GetProperties (object component);
abstract member GetProperties : obj -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : obj -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetProperties (component As Object) As PropertyDescriptorCollection

Parametri

component
Object

Componente di cui recuperare le proprietà.

Restituisce

Oggetto PropertyDescriptorCollection che contiene le proprietà del componente.

Si applica a

GetProperties(Object, Attribute[])

Ottiene le proprietà del componente specificato che corrispondono agli attributi specificati.

public:
 abstract System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public abstract System.ComponentModel.PropertyDescriptorCollection GetProperties (object component, Attribute[] attributes);
public abstract System.ComponentModel.PropertyDescriptorCollection GetProperties (object component, Attribute[]? attributes);
public abstract System.ComponentModel.PropertyDescriptorCollection? GetProperties (object component, Attribute[]? attributes);
abstract member GetProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public MustOverride Function GetProperties (component As Object, attributes As Attribute()) As PropertyDescriptorCollection

Parametri

component
Object

Componente da cui recuperare le proprietà.

attributes
Attribute[]

Matrice di tipo Attribute che indica gli attributi delle proprietà da recuperare.

Restituisce

Oggetto PropertyDescriptorCollection che contiene le proprietà.

Si applica a

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Ottiene le proprietà del componente specificato che corrispondono agli attributi e al contesto specificati.

public:
 virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext context, object component, Attribute[] attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext? context, object component, Attribute[]? attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection? GetProperties (System.ComponentModel.ITypeDescriptorContext? context, object component, Attribute[]? attributes);
abstract member GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetProperties (context As ITypeDescriptorContext, component As Object, attributes As Attribute()) As PropertyDescriptorCollection

Parametri

context
ITypeDescriptorContext

ITypeDescriptorContext che indica il contesto da cui recuperare le proprietà.

component
Object

Componente da cui recuperare le proprietà.

attributes
Attribute[]

Matrice di tipo Attribute che indica gli attributi delle proprietà da recuperare.

Restituisce

PropertyDescriptorCollection che contiene le proprietà corrispondenti al contesto e agli attributi specificati.

Si applica a