Int16Value.ToInt16 Method

Returns the internal Int16 representation of a Int16Value object.

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

Syntax

'Declaration
Public Shared Function ToInt16 ( _
    xmlAttribute As Int16Value _
) As Short
'Usage
Dim xmlAttribute As Int16Value
Dim returnValue As Short

returnValue = Int16Value.ToInt16(xmlAttribute)
public static short ToInt16(
    Int16Value xmlAttribute
)

Parameters

Return Value

Type: System.Int16
A Int16 value that represents a Int16Value object.

See Also

Reference

Int16Value Class

Int16Value Members

DocumentFormat.OpenXml Namespace