IDynamicProperties.AddProperties 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
動態地將屬性加入 Properties 集合。
public void AddProperties(System.ComponentModel.PropertyDescriptorCollection properties, System.ComponentModel.ITypeDescriptorContext context, object value, Attribute[] attributes);
abstract member AddProperties : System.ComponentModel.PropertyDescriptorCollection * System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> unit
Public Sub AddProperties (properties As PropertyDescriptorCollection, context As ITypeDescriptorContext, value As Object, attributes As Attribute())
參數
- properties
- PropertyDescriptorCollection
物業收藏
- context
- ITypeDescriptorContext
- value
- Object
- attributes
- Attribute[]