IDynamicProperties.AddProperties Método
Adds properties of the specified Object to the properties collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Sub AddProperties ( _
properties As PropertyDescriptorCollection, _
context As ITypeDescriptorContext, _
value As Object, _
attributes As Attribute() _
)
'Uso
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[]
)
Parámetros
- properties
Tipo: System.ComponentModel.PropertyDescriptorCollection
A PropertyDescriptorCollection object that contains the properties.
- context
Tipo: System.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext object that contains the context information.
- value
Tipo: System.Object
The Object whose properties to add.
- attributes
Tipo: array<System.Attribute[]
An array of Attribute to use as a filter.