ReportSizeConverter.ConvertFrom 方法 (ITypeDescriptorContext, CultureInfo, Object)
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Converts the given object to the type of this converter, using the specified context and culture information.
命名空間: Microsoft.ReportingServices.RdlObjectModel
組件: Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)
語法
'宣告
Public Overrides Function ConvertFrom ( _
context As ITypeDescriptorContext, _
culture As CultureInfo, _
value As Object _
) As Object
'用途
Dim instance As ReportSizeConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim returnValue As Object
returnValue = instance.ConvertFrom(context, _
culture, value)
public override Object ConvertFrom(
ITypeDescriptorContext context,
CultureInfo culture,
Object value
)
public:
virtual Object^ ConvertFrom(
ITypeDescriptorContext^ context,
CultureInfo^ culture,
Object^ value
) override
abstract ConvertFrom :
context:ITypeDescriptorContext *
culture:CultureInfo *
value:Object -> Object
override ConvertFrom :
context:ITypeDescriptorContext *
culture:CultureInfo *
value:Object -> Object
public override function ConvertFrom(
context : ITypeDescriptorContext,
culture : CultureInfo,
value : Object
) : Object
參數
- context
型別:System.ComponentModel.ITypeDescriptorContext
Provides the format context.
- culture
型別:System.Globalization.CultureInfo
The CultureInfo to use as the current culture.
- value
型別:System.Object
The Object to convert.
傳回值
型別:System.Object
An Object that represents the converted value.