Поделиться через


Метод ReportSizeConverter.ConvertTo (ITypeDescriptorContext, CultureInfo, Object, Type)

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

Converts the given value object to the specified type, using the specified context and culture information.

Пространство имен:  Microsoft.ReportingServices.RdlObjectModel
Сборка:  Microsoft.ReportingServices.Designer.Controls (в Microsoft.ReportingServices.Designer.Controls.dll)

Синтаксис

'Декларация
Public Overrides Function ConvertTo ( _
    context As ITypeDescriptorContext, _
    culture As CultureInfo, _
    value As Object, _
    destinationType As Type _
) As Object
'Применение
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

Параметры

  • destinationType
    Тип: System.Type
    The Type to convert the value parameter to.

Возвращаемое значение

Тип: System.Object
An Object that represents the converted value.

См. также

Справочник

ReportSizeConverter Класс

Перегрузка ConvertTo

Пространство имен Microsoft.ReportingServices.RdlObjectModel