LocalizableTypeConverter.GetProperties 方法

定義

多載

名稱 Description
GetProperties(PropertyInfo[])

取得一組描述傳入屬性的 PropertyDescriptors。 ResourceManager 將從屬性清單中第一個屬性的宣告型別中取得。

GetProperties(ITypeDescriptorContext, Object, Attribute[])

取得一組描述輸入物件屬性的 PropertyDescriptors 集合

GetProperties(PropertyInfo[])

取得一組描述傳入屬性的 PropertyDescriptors。 ResourceManager 將從屬性清單中第一個屬性的宣告型別中取得。

public System.ComponentModel.PropertyDescriptorCollection GetProperties(System.Reflection.PropertyInfo[] properties);
override this.GetProperties : System.Reflection.PropertyInfo[] -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetProperties (properties As PropertyInfo()) As PropertyDescriptorCollection

參數

properties
PropertyInfo[]

傳回

適用於

GetProperties(ITypeDescriptorContext, Object, Attribute[])

取得一組描述輸入物件屬性的 PropertyDescriptors 集合

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

參數

context
ITypeDescriptorContext

未使用,物件的上下文

value
Object

所描述的性質物件

filter
Attribute[]

未使用,屬性用來過濾屬性。

傳回

一組屬性描述符

適用於