この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
指定したコンテキストとカルチャ情報を使用して、指定した値オブジェクトを指定した型に変換します。
名前空間: 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
パラメーター
- context
型: System.ComponentModel.ITypeDescriptorContext
フォーマット コンテキストを提供します。
- culture
型: System.Globalization.CultureInfo
現在のカルチャ。
- value
型: System.Object
変換する Object。
- destinationType
型: System.Type
値パラメーターを変換する Type。
戻り値
型: System.Object
変換された値を表す Object。