CheckedCast()
System::CheckedCast(TFrom) function
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)
Template parameters
Parameter | Description |
---|---|
TTo | The type to which the specified value is to be cast |
TFrom | The type of the specified value |
Arguments
Parameter | Type | Description |
---|---|---|
value | TFrom | The value to cast |
Return Value
The value of type TTo equivalent to value
See Also
- Namespace System
- Library Aspose.Slides