共用方式為


Int16Value.FromInt16(Int16) Method

Definition

Returns a new Int16Value object that was created from an Int16 value.

public static DocumentFormat.OpenXml.Int16Value FromInt16 (short value);
static member FromInt16 : int16 -> DocumentFormat.OpenXml.Int16Value
Public Shared Function FromInt16 (value As Short) As Int16Value

Parameters

value
Int16

An Int16 value to use to create a new Int16Value object.

Returns

An Int16Value that corresponds to the value parameter.

Applies to