Bridge

Nullable<(Of <(<'T>)>)>..::..Value Property

Gets the value of the current Nullable<(Of <(<'T>)>)> object if it has been assigned a valid underlying value.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public T Value { get; }
<TemplateAttribute> _
Public ReadOnly Property Value As T
	Get
[TemplateAttribute]
public:
property T Value {
	T get ();
}

Return Value

The value of the current Nullable<(Of <(<'T>)>)> object if the HasValue property is true. An exception is thrown if the HasValue property is false.

Exceptions


ExceptionCondition
System..::..InvalidOperationExceptionThe HasValue property is false.