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 命名空间