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!

Binder.ChangeType

When implemented by a subclass, this method changes the type of the given Variant to the given Type.

[Visual Basic]
MustOverride Public Function ChangeType( _
   ByVal value As Object, _
   ByVal type As Type, _
   ByVal culture As CultureInfo _
) As Object
[C#]
public abstract object ChangeType(
   object value,
   Type type,
   CultureInfo culture
);
[C++]
public: virtual Object* ChangeType(
   Object* value,
   Type* type,
   CultureInfo* culture
) = 0;
[JScript]
public abstract function ChangeType(
   value : Object,
   type : Type,
   culture : CultureInfo
) : Object;

Parameters

value
The value to change into a new Type.
type
The new Type that value will become.
culture
An instance of CultureInfo used to control the coercion of data types.'> If this is null, the CultureInfo for the current thread is used. (Note that this is necessary to, for example, convert a String that represents 1000 to a Double value, since 1000 is represented differently by different cultures.) Not Yet Implemented

Return Value

Returns a Variant object containing the given value as the new type.

Remarks

[To be supplied.]

See Also

Binder Class | Binder Members | System.Reflection Namespace