XmlHelpers.ChangeType(Object, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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