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.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntax
public static implicit operator ushort (
	UInt16Value xmlAttribute
)

Parameters

xmlAttribute  UInt16Value
The UInt16Value to convert.

Return Value

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