System::CheckedCast method
System::CheckedCast method
Determines if the specified value falls into the range of values of type TTo and if it does casts it to the type TTo.
template<typename TTo,typename TFrom> TTo System::CheckedCast(TFrom value)
Parameter | Description |
---|---|
TTo | The type to which the specified value is to be cast |
TFrom | The type of the specified value |
Parameter | Type | Description |
---|---|---|
value | TFrom | The value to cast |
ReturnValue
The value of type TTo equivalent to value
See Also
- Namespace System
- Library Aspose.Font for C++