Compartir a través de


UInt16Value Implicit Conversion (UInt16Value to UInt16)

Implicit converter to UInt16.

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

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    xmlAttribute As UInt16Value _
) As UShort
'Usage
Dim input As UInt16Value
Dim output As UShort

output = CType(input, UShort)
public static implicit operator ushort (
    UInt16Value xmlAttribute
)

Parameters

Return Value

Type: System.UInt16
The internal UInt16 value.

Exceptions

Exception Condition
InvalidOperationException

Thrown when "xmlAttribute" is null.

See Also

Reference

UInt16Value Class

UInt16Value Members

Implicit Overload

DocumentFormat.OpenXml Namespace