IDynamicProperties.AddProperties 方法
Adds properties of the specified Object to the properties collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Sub AddProperties ( _
properties As PropertyDescriptorCollection, _
context As ITypeDescriptorContext, _
value As Object, _
attributes As Attribute() _
)
用法
Dim instance As IDynamicProperties
Dim properties As PropertyDescriptorCollection
Dim context As ITypeDescriptorContext
Dim value As Object
Dim attributes As Attribute()
instance.AddProperties(properties, context, _
value, attributes)
void AddProperties(
PropertyDescriptorCollection properties,
ITypeDescriptorContext context,
Object value,
Attribute[] attributes
)
void AddProperties(
PropertyDescriptorCollection^ properties,
ITypeDescriptorContext^ context,
Object^ value,
array<Attribute^>^ attributes
)
abstract AddProperties :
properties:PropertyDescriptorCollection *
context:ITypeDescriptorContext *
value:Object *
attributes:Attribute[] -> unit
function AddProperties(
properties : PropertyDescriptorCollection,
context : ITypeDescriptorContext,
value : Object,
attributes : Attribute[]
)
参数
- properties
类型:System.ComponentModel.PropertyDescriptorCollection
A PropertyDescriptorCollection object that contains the properties.
- context
类型:System.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext object that contains the context information.
- value
类型:System.Object
The Object whose properties to add.
- attributes
类型:array<System.Attribute[]
An array of Attribute to use as a filter.