SelectionRangeConverter.GetProperties Yöntem

Tanım

Türü için filtrelenmiş özellikler SelectionRange kümesini döndürür.

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);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The Type of value cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
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
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The Type of value cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")>]
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

Parametreler

context
ITypeDescriptorContext

Biçim ITypeDescriptorContext bağlamı sağlayan bir.

value
Object

Object Özelliklerin alındığı dizi türünü belirten bir.

attributes
Attribute[]

Filtre olarak kullanılan tür Attribute dizisi.

Döndürülenler

Başarılı olursa, türü için SelectionRange kullanıma sunulacak özellikler kümesi; aksi takdirde , null.

Öznitelikler

Açıklamalar

Bu yöntemin varsayılan uygulaması veya context parametrelerini kullanmazvalue, ancak çağrıyı TypeDescriptor. yöntemine başvurur.TypeDescriptor.GetProperties(Type, Attribute[])

Şunlara uygulanır

Ayrıca bkz.