UInt16Value.ToUInt16 Method

Returns the internal UInt16 representation of a UInt16Value object.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Shared Function ToUInt16 ( _
    xmlAttribute As UInt16Value _
) As UShort
'Usage
Dim xmlAttribute As UInt16Value
Dim returnValue As UShort

returnValue = UInt16Value.ToUInt16(xmlAttribute)
public static ushort ToUInt16(
    UInt16Value xmlAttribute
)

Parameters

Return Value

Type: System.UInt16
A UInt16 value that represents a UInt16Value object.

See Also

Reference

UInt16Value Class

UInt16Value Members

DocumentFormat.OpenXml Namespace