Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Nested static class: RT.Serialization.ExactConvert.ToNullableSummary
Contains static methods to perform an exact conversion to a nullable type.
These methods return null only if the input is null. A failed conversion
results in an ExactConvertException.
Static methods| bool? | |
Converts the specified object to a nullable bool.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | byte? | |
Converts the specified object to a nullable byte.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | char? | |
Converts the specified object to a nullable char.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | DateTime? | |
Converts the specified object to a nullable DateTime.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | decimal? | |
Converts the specified object to a nullable decimal.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | double? | |
Converts the specified object to a nullable double.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | float? | |
Converts the specified object to a nullable float.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | int? | |
Converts the specified object to an nullable int.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | long? | |
Converts the specified object to a nullable long.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | sbyte? | |
Converts the specified object to an nullable sbyte.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | short? | |
Converts the specified object to a nullable short.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | string | |
Converts the specified object to a nullable string.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | uint? | |
Converts the specified object to a nullable uint.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | ulong? | |
Converts the specified object to a nullable ulong.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
| | ushort? | |
Converts the specified object to a nullable ushort.
Returns null if value is null.
Throws an ExactConvertException if the object cannot be converted exactly.
|
|