MarginsConverterConvertTo Method |
Converts the given value object to the specified type, using the specified
context and culture information.
Namespace: Kettic.AspNet.Controls.ChartModel.StylesAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic override Object ConvertTo(
ITypeDescriptorContext context,
CultureInfo culture,
Object value,
Type destinationType
)
Public Overrides Function ConvertTo (
context As ITypeDescriptorContext,
culture As CultureInfo,
value As Object,
destinationType As Type
) As Object
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
Parameters
- context
- Type: System.ComponentModelITypeDescriptorContext
An System.ComponentModel.ITypeDescriptorContext that provides a format context. - culture
- Type: System.GlobalizationCultureInfo
A System.Globalization.CultureInfo. If null is passed, the current culture
is assumed. - value
- Type: SystemObject
The System.Object to convert. - destinationType
- Type: SystemType
The System.Type to convert the value parameter to.
Return Value
Type:
ObjectAn System.Object that represents the converted value.
See Also