System::Nullable::GetValueOrDefault method
Nullable::GetValueOrDefault(T) method
Returns the value represented by the current object or the specified value if the value represented by the current object is null.
T System::Nullable<T>::GetValueOrDefault(T default_value)
Parameter | Type | Description |
---|---|---|
default_value | T | The value returned by the method if the value represented by the current object is null |
ReturnValue
A copy of the value represented by the current object is it is not null, otherwise the specified value is returned
See Also
- Class Nullable
- Namespace System
- Library Aspose.PUB for C++
Nullable::GetValueOrDefault() method
T System::Nullable<T>::GetValueOrDefault()
See Also
- Class Nullable
- Namespace System
- Library Aspose.PUB for C++