Share via


UInt16Value.ToUInt16(UInt16Value) Method

Definition

Returns the UInt16 representation of a UInt16Value object.

public static ushort ToUInt16 (DocumentFormat.OpenXml.UInt16Value xmlAttribute);
public static ushort ToUInt16 (DocumentFormat.OpenXml.UInt16Value value);
static member ToUInt16 : DocumentFormat.OpenXml.UInt16Value -> uint16
static member ToUInt16 : DocumentFormat.OpenXml.UInt16Value -> uint16
Public Shared Function ToUInt16 (xmlAttribute As UInt16Value) As UShort
Public Shared Function ToUInt16 (value As UInt16Value) As UShort

Parameters

xmlAttributevalue
UInt16Value

Returns

A UInt16 value that represents a UInt16Value object.

Applies to