PropertyTab.GetProperties Metod

Definition

Hämtar egenskaperna för den angivna komponenten.

Överlagringar

Name Description
GetProperties(Object)

Hämtar egenskaperna för den angivna komponenten.

GetProperties(Object, Attribute[])

Hämtar egenskaperna för den angivna komponenten som matchar de angivna attributen.

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Hämtar egenskaperna för den angivna komponenten som matchar de angivna attributen och kontexten.

GetProperties(Object)

Källa:
PropertyTab.cs
Källa:
PropertyTab.cs
Källa:
PropertyTab.cs
Källa:
PropertyTab.cs
Källa:
PropertyTab.cs

Hämtar egenskaperna för den angivna komponenten.

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

Parametrar

component
Object

Komponenten som ska hämta egenskaperna för.

Returer

En PropertyDescriptorCollection som innehåller komponentens egenskaper.

Gäller för

GetProperties(Object, Attribute[])

Källa:
PropertyTab.cs
Källa:
PropertyTab.cs
Källa:
PropertyTab.cs
Källa:
PropertyTab.cs
Källa:
PropertyTab.cs

Hämtar egenskaperna för den angivna komponenten som matchar de angivna attributen.

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

Parametrar

component
Object

Komponenten som du vill hämta egenskaper från.

attributes
Attribute[]

En matris av typen Attribute som anger attributen för de egenskaper som ska hämtas.

Returer

En PropertyDescriptorCollection som innehåller egenskaperna.

Gäller för

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Källa:
PropertyTab.cs
Källa:
PropertyTab.cs
Källa:
PropertyTab.cs
Källa:
PropertyTab.cs
Källa:
PropertyTab.cs

Hämtar egenskaperna för den angivna komponenten som matchar de angivna attributen och kontexten.

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

Parametrar

context
ITypeDescriptorContext

Ett ITypeDescriptorContext som anger kontexten som du vill hämta egenskaper från.

component
Object

Komponenten som du vill hämta egenskaper från.

attributes
Attribute[]

En matris av typen Attribute som anger attributen för de egenskaper som ska hämtas.

Returer

En PropertyDescriptorCollection som innehåller de egenskaper som matchar den angivna kontexten och attributen.

Gäller för