Freigeben über


UInt16Value Implicit-Konvertierung (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
)

Parameter

Rückgabewert

Typ: System.UInt16
The internal UInt16 value.

Ausnahmen

Ausnahme Bedingung
InvalidOperationException

Thrown when "xmlAttribute" is null.

Siehe auch

Referenz

UInt16Value Klasse

UInt16Value-Member

Implicit Überladung

DocumentFormat.OpenXml-Namespace