UInt16Value.FromUInt16 Method
Returns a new UInt16Value object created from UInt16.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Function FromUInt16 ( _
value As UShort _
) As UInt16Value
'Usage
Dim value As UShort
Dim returnValue As UInt16Value
returnValue = UInt16Value.FromUInt16(value)
public static UInt16Value FromUInt16(
ushort value
)
Parameters
- value
Type: System.UInt16
A UInt16 value to create a new UInt16Value object from.
Return Value
Type: DocumentFormat.OpenXml.UInt16Value
A UInt16Value that corresponds to the value parameter.