NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataSourceConverter.ConvertTo

Converts to the specified type given the specified context and object to convert from.

[Visual Basic]
Overrides Public Function ConvertTo( _
   ByVal context As ITypeDescriptorContext, _
   ByVal value As Object, _
   ByVal destinationType As Type, _
   ByVal arguments() As Object _
) As Object
[C#]
public override object ConvertTo(
   ITypeDescriptorContext context,
   object value,
   Type destinationType,
   object[] arguments
);
[C++]
public: override Object* ConvertTo(
   ITypeDescriptorContext* context,
   Object* value,
   Type* destinationType,
   Object* arguments[]
);
[JScript]
public override function ConvertTo(
   context : ITypeDescriptorContext,
   value : Object,
   destinationType : Type,
   arguments : Object[]
) : Object;

Parameters

context
An ITypeDescriptorContext that indicates the component or control to convert from.
value
[To be supplied.]
destinationType
[To be supplied.]
arguments
[To be supplied.]

Return Value

The object resulting from conversion.

See Also

DataSourceConverter Class | DataSourceConverter Members | System.Web.UI.Design Namespace