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

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Converts the given value object to the specified type, using the specified context and culture information.

Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)

Syntax

C#
public override Object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value,
	Type destinationType
)
Visual Basic
Public Overrides Function ConvertTo ( 
	context As ITypeDescriptorContext,
	culture As CultureInfo,
	value As Object,
	destinationType As Type
) As Object
Visual 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
The CultureInfo to use as the current culture.
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