Int16Value.FromInt16 Method

Returns a new Int16Value object created from Int16.

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

Syntax

'Declaration
Public Shared Function FromInt16 ( _
    value As Short _
) As Int16Value
'Usage
Dim value As Short
Dim returnValue As Int16Value

returnValue = Int16Value.FromInt16(value)
public static Int16Value FromInt16(
    short value
)

Parameters

  • value
    Type: System.Int16
    A Int16 value to create a new Int16Value object from.

Return Value

Type: DocumentFormat.OpenXml.Int16Value
A Int16Value that corresponds to the value parameter.

See Also

Reference

Int16Value Class

Int16Value Members

DocumentFormat.OpenXml Namespace