NullableConverter.GetProperties 方法

定義

回傳一組由值參數指定的陣列類型屬性,使用指定的上下文與屬性。

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);
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

參數

context
ITypeDescriptorContext

提供格式背景的一個 ITypeDescriptorContext

value
Object

一個 Object 指定要取得屬性的陣列類型。

attributes
Attribute[]

一個用於過濾器的型別 Attribute 陣列。

傳回

PropertyDescriptorCollection A,包含該資料型別暴露的屬性,或null是沒有屬性。

適用於

另請參閱