ActivityBindTypeConverter.GetProperties 方法

定義

使用指定的內容和屬性 (Attribute),傳回由 value 參數所指定之陣列型別的屬性 (Property) 集合。

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,具有為這個資料型別所公開的屬性,如果沒有屬性則為 null 參考 (在 Visual Basic 中為 Nothing)。

適用於