Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: object To(Type, object)

Declaration

public static object To(
    Type toType,
    object value
)

Summary

Converts the value to type toType. Throws an ExactConvertException if the object cannot be converted exactly.