Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
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.