IComNativeDescriptorHandler.GetProperties(Object, Attribute[]) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar egenskaperna med de angivna attributen för den angivna komponenten.
public:
System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes);
public System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes);
abstract member GetProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetProperties (component As Object, attributes As Attribute()) As PropertyDescriptorCollection
Parametrar
- component
- Object
Komponenten som du vill hämta händelser för.
- attributes
- Attribute[]
Attributen som används för att filtrera egenskaper.
Returer
En samling egenskapsbeskrivningar för component.
Kommentarer
Note
Det här API:et är nu föråldrat. Det icke-föråldrade alternativet är ComObjectType.