다음을 통해 공유


Int16Value.Implicit Operator

Definition

Overloads

Implicit(Int16 to Int16Value)

Implicitly converts an Int16 value to a Int16Value instance.

Implicit(Int16Value to Int16)

Implicitly converts the specified value to an Int16 value.

Implicit(Int16 to Int16Value)

Implicitly converts an Int16 value to a Int16Value instance.

public static implicit operator DocumentFormat.OpenXml.Int16Value (short value);
static member op_Implicit : int16 -> DocumentFormat.OpenXml.Int16Value
Public Shared Widening Operator CType (value As Short) As Int16Value

Parameters

value
Int16

The specified value.

Returns

A new Int16Value instance with the value.

Applies to

Implicit(Int16Value to Int16)

Implicitly converts the specified value to an Int16 value.

public static implicit operator short (DocumentFormat.OpenXml.Int16Value xmlAttribute);
public static implicit operator short (DocumentFormat.OpenXml.Int16Value value);
static member op_Implicit : DocumentFormat.OpenXml.Int16Value -> int16
static member op_Implicit : DocumentFormat.OpenXml.Int16Value -> int16
Public Shared Widening Operator CType (xmlAttribute As Int16Value) As Short
Public Shared Widening Operator CType (value As Int16Value) As Short

Parameters

xmlAttributevalue
Int16Value

Returns

The converted Int16 value.

Exceptions

Thrown when value is null.

Applies to