共用方式為


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[]
)

參數

請參閱

參考

IDynamicProperties 介面

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間