Int16Value Implicit Conversion (Int16Value to Int16)
Implicit converter to Int16.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
xmlAttribute As Int16Value _
) As Short
'Usage
Dim input As Int16Value
Dim output As Short
output = CType(input, Short)
public static implicit operator short (
Int16Value xmlAttribute
)
Parameters
- xmlAttribute
Type: DocumentFormat.OpenXml.Int16Value
The Int16Value to be converted.
Return Value
Type: System.Int16
The internal Int16 value.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when "xmlAttribute" is null. |