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