Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Converts the given value object to the specified type, using the specified context and culture information.
Espace de noms : Microsoft.ReportingServices.RdlObjectModel
Assembly : Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.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 ReportSizeConverter
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
Provides a format context.
- culture
Type : System.Globalization.CultureInfo
The current culture.
- value
Type : System.Object
The Object to convert.
- destinationType
Type : System.Type
The Type to convert the value parameter to.
Valeur de retour
Type : System.Object
An Object that represents the converted value.