Share via


XmlHelpers.ChangeType(Object, Type) Method

Definition

public:
 static System::Object ^ ChangeType(System::Object ^ val, Type ^ targetType);
public static object ChangeType (object val, Type targetType);
static member ChangeType : obj * Type -> obj
Public Shared Function ChangeType (val As Object, targetType As Type) As Object

Parameters

val
Object
targetType
Type

Returns

Applies to