Méthode GetProperties (ITypeDescriptorContext, Object, Attribute[])
Returns a collection of property descriptions for the specified object. Ne référencez pas directement 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
Public Overrides Function GetProperties ( _
context As ITypeDescriptorContext, _
value As Object, _
filter As Attribute() _
) As PropertyDescriptorCollection
'Utilisation
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
Paramètres
- context
Type : System.ComponentModel. . :: . .ITypeDescriptorContext
An ITypeDescriptorContext object that contains the context information. This value is not used.
- value
Type : System. . :: . .Object
The object whose properties to get descriptions for.
- filter
Type : array<System. . :: . .Attribute> [] () [] []
An array of Attribute objects that is used as a filter. This value is not used.
Valeur de retour
Type : System.ComponentModel. . :: . .PropertyDescriptorCollection
The collection of property descriptions for the specified object.