Méthode ConvertTo (ITypeDescriptorContext, CultureInfo, Object, Type)
Cette API prend en charge l'infrastructure et n'est pas destinée à être utilisée directement à partir de votre code.
Ce membre se substitue à EnumConverter. . :: . .ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type).
Espace de noms : Microsoft.SqlServer.Dts.Design
Assembly : Microsoft.SqlServer.Dts.Design (en Microsoft.SqlServer.Dts.Design.dll)
Syntaxe
'Déclaration
Public Overrides Function ConvertTo ( _
context As ITypeDescriptorContext, _
culture As CultureInfo, _
value As Object, _
destinationType As Type _
) As Object
'Utilisation
Dim instance As LocalizedEnumConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim destinationType As Type
Dim returnValue As Object
returnValue = instance.ConvertTo(context, _
culture, value, destinationType)
public override Object ConvertTo(
ITypeDescriptorContext context,
CultureInfo culture,
Object value,
Type destinationType
)
public:
virtual Object^ ConvertTo(
ITypeDescriptorContext^ context,
CultureInfo^ culture,
Object^ value,
Type^ destinationType
) override
abstract ConvertTo :
context:ITypeDescriptorContext *
culture:CultureInfo *
value:Object *
destinationType:Type -> Object
override ConvertTo :
context:ITypeDescriptorContext *
culture:CultureInfo *
value:Object *
destinationType:Type -> Object
public override function ConvertTo(
context : ITypeDescriptorContext,
culture : CultureInfo,
value : Object,
destinationType : Type
) : Object
Paramètres
- context
Type : System.ComponentModel. . :: . .ITypeDescriptorContext
- culture
Type : System.Globalization. . :: . .CultureInfo
- value
Type : System. . :: . .Object
- destinationType
Type : System. . :: . .Type
Valeur de retour
Type : System. . :: . .Object