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
- xmlAttribute
Typ: DocumentFormat.OpenXml.UInt16Value
The UInt16Value to be converted.
Rückgabewert
Typ: System.UInt16
The internal UInt16 value.
Ausnahmen
Ausnahme | Bedingung |
---|---|
InvalidOperationException | Thrown when "xmlAttribute" is null. |