GetProperties Método (ITypeDescriptorContext, Object, Attribute[])
Returns a collection of property descriptions for the specified object. 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
Public Overrides Function GetProperties ( _
context As ITypeDescriptorContext, _
value As Object, _
filter As Attribute() _
) As PropertyDescriptorCollection
'Uso
Dim instance As LocalizableTypeConverter
Dim context As ITypeDescriptorContext
Dim value As Object
Dim filter As Attribute()
Dim returnValue As PropertyDescriptorCollection
returnValue = instance.GetProperties(context, _
value, filter)
public override PropertyDescriptorCollection GetProperties(
ITypeDescriptorContext context,
Object value,
Attribute[] filter
)
public:
virtual PropertyDescriptorCollection^ GetProperties(
ITypeDescriptorContext^ context,
Object^ value,
array<Attribute^>^ filter
) override
abstract GetProperties :
context:ITypeDescriptorContext *
value:Object *
filter:Attribute[] -> PropertyDescriptorCollection
override GetProperties :
context:ITypeDescriptorContext *
value:Object *
filter:Attribute[] -> PropertyDescriptorCollection
public override function GetProperties(
context : ITypeDescriptorContext,
value : Object,
filter : Attribute[]
) : PropertyDescriptorCollection
Parámetros
- context
Tipo: System.ComponentModel. . :: . .ITypeDescriptorContext
An ITypeDescriptorContext object that contains the context information. This value is not used.
- value
Tipo: System. . :: . .Object
The object whose properties to get descriptions for.
- filter
Tipo: array<System. . :: . .Attribute> [] () [] []
An array of Attribute objects that is used as a filter. This value is not used.
Valor devuelto
Tipo: System.ComponentModel. . :: . .PropertyDescriptorCollection
The collection of property descriptions for the specified object.