Click or drag to resize

UInt16Value   Conversion (UInt16Value to UInt16)

Implicitly converts the specified UInt16Value object to a UInt16 value.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public static implicit operator ushort (
	UInt16Value value
)

Parameters

value  UInt16Value
The UInt16Value to convert.

Return Value

UInt16
The converted UInt16 value.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when value is null.
See Also