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.
Returns whether this converter can convert an object in the given source type using the specified context.
Espace de noms : Microsoft.ReportingServices.RdlObjectModel
Assembly : Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)
Syntaxe
'Déclaration
Public Overrides Function CanConvertFrom ( _
context As ITypeDescriptorContext, _
sourceType As Type _
) As Boolean
'Utilisation
Dim instance As ReportSizeConverter
Dim context As ITypeDescriptorContext
Dim sourceType As Type
Dim returnValue As Boolean
returnValue = instance.CanConvertFrom(context, _
sourceType)
public override bool CanConvertFrom(
ITypeDescriptorContext context,
Type sourceType
)
public:
virtual bool CanConvertFrom(
ITypeDescriptorContext^ context,
Type^ sourceType
) override
abstract CanConvertFrom :
context:ITypeDescriptorContext *
sourceType:Type -> bool
override CanConvertFrom :
context:ITypeDescriptorContext *
sourceType:Type -> bool
public override function CanConvertFrom(
context : ITypeDescriptorContext,
sourceType : Type
) : boolean
Paramètres
- context
Type : System.ComponentModel.ITypeDescriptorContext
Provides the format context.
- sourceType
Type : System.Type
The type you wish to convert from.
Valeur de retour
Type : System.Boolean
True if this converter can perform the conversion; otherwise, false.