Méthode IDynamicProperties.AddProperties
Adds properties of the specified Object to the properties collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Sub AddProperties ( _
properties As PropertyDescriptorCollection, _
context As ITypeDescriptorContext, _
value As Object, _
attributes As Attribute() _
)
'Utilisation
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[]
)
Paramètres
- properties
Type : System.ComponentModel.PropertyDescriptorCollection
A PropertyDescriptorCollection object that contains the properties.
- context
Type : System.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext object that contains the context information.
- value
Type : System.Object
The Object whose properties to add.
- attributes
Type : array<System.Attribute[]
An array of Attribute to use as a filter.