LocalizableTypeConverter.GetProperties 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | 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[]
未使用,屬性用來過濾屬性。
傳回
一組屬性描述符