Skip to content

M_Ekstrand_Windows_Forms_InsideBorderElementsConverter_ConvertTo

Fred Ekstrand edited this page Aug 4, 2020 · 1 revision

InsideBorderElementsConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

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

Namespace: Ekstrand.Windows.Forms
Assembly: GroupBox (in GroupBox.dll) Version: 1.0.1.0 (1.0.1.0)

Syntax

C#

public override Object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value,
	Type destinationType
)

VB

Public Overrides Function ConvertTo ( 
	context As ITypeDescriptorContext,
	culture As CultureInfo,
	value As Object,
	destinationType As Type
) As Object

C++

public:
virtual Object^ ConvertTo(
	ITypeDescriptorContext^ context, 
	CultureInfo^ culture, 
	Object^ value, 
	Type^ destinationType
) override

F#

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.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
culture
Type: System.Globalization.CultureInfo
A CultureInfo. If null is passed, the current culture is assumed.
value
Type: System.Object
The Object to convert.
destinationType
Type: System.Type
The Type to convert the value parameter to.

Return Value

Type: Object
An Object that represents the converted value.

See Also

Reference

InsideBorderElementsConverter Class
ConvertTo Overload
Ekstrand.Windows.Forms Namespace

Clone this wiki locally