Udostępnij przez


SizeFConverter.GetProperties Metoda

Definicja

Pobiera zestaw właściwości dla SizeF typu przy użyciu określonego kontekstu i atrybutów.

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

Parametry

context
ITypeDescriptorContext

Element ITypeDescriptorContext , za pomocą którego można podać dodatkowy kontekst.

value
Object

Element , dla których Object mają być zwracane właściwości.

attributes
Attribute[]

Tablica Attribute obiektów opisujących właściwości.

Zwraca

Obiekt PropertyDescriptorCollection zawierający właściwości.

Uwagi

Ta metoda zawsze zwraca właściwości SizeF typu niezależnie od parametru value .

Dotyczy