You are here: Start » FIL.NET » NullableValue<T> Class
NullableValue<T> Class
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.TS.dll |
Represents a value that can be passed or returned optionally.
Constructors
Constructor | Description | |
---|---|---|
![]() | NullableValue<T>(T) | Creates a new non-empty NullableValue<T> object that holds reference to the obj. If obj is null this constructor is equivalent to the parameterless one. |
![]() | NullableValue<T>(Nullable<T>) | Creates a new non-empty NullableValue<T> object that holds reference to the obj. If obj is null this constructor is equivalent to the parameterless one. |
![]() | NullableValue<T>() | Creates a new empty NullableValue<T> object, for which HasValue property is false. |
Properties
Name | Type | Description | |
---|---|---|---|
![]() ![]() | Auto | FilNet.NullableValue<T> | Gets an empty value, for which HasValue property is false. |
![]() | HasValue | System.Boolean | Gets a value indicating whether the current NullableValue<T> object has a valid value of its underlying type. |
![]() | Value | T | Gets the value of the current NullableValue<T> object if the HasValue property is true. An exception is thrown if the HasValue property is false. |
Methods
Name | Description | |
---|---|---|
![]() | Equals(NullableValue<T>) | |
![]() | Equals(object) | Inherited from System.Object |
![]() | GetHashCode() | Inherited from System.Object |
![]() | GetType() | Inherited from System.Object |
![]() | Release() | Detaches value of the current NullableValue<T> object if HasValue property is true and sets this object as an empty. An exception is thrown if HasValue property is false. |
![]() | Reset() | Resets the current NullableValue<T> object to an empty value (HasValue is equal to false) |
![]() | Reset(T) | Resets the current NullableValue<T> object to a new, non-null value (HasValue is equal to true) |
![]() | ToString() | Inherited from System.Object |