UInt16Value.Implicit Operator

Definition

Overloads

Implicit(UInt16 to UInt16Value)

Implicitly converts a UInt16 value to a UInt16Value class.

Implicit(UInt16Value to UInt16)

Implicitly converts the specified UInt16Value object to a UInt16 value.

Implicit(UInt16 to UInt16Value)

Implicitly converts a UInt16 value to a UInt16Value class.

public static implicit operator DocumentFormat.OpenXml.UInt16Value (ushort value);
static member op_Implicit : uint16 -> DocumentFormat.OpenXml.UInt16Value
Public Shared Widening Operator CType (value As UShort) As UInt16Value

Parameters

value
UInt16

The specified value.

Returns

A new UInt16Value instance with the value.

Applies to

Implicit(UInt16Value to UInt16)

Implicitly converts the specified UInt16Value object to a UInt16 value.

public static implicit operator ushort (DocumentFormat.OpenXml.UInt16Value xmlAttribute);
public static implicit operator ushort (DocumentFormat.OpenXml.UInt16Value value);
static member op_Implicit : DocumentFormat.OpenXml.UInt16Value -> uint16
static member op_Implicit : DocumentFormat.OpenXml.UInt16Value -> uint16
Public Shared Widening Operator CType (xmlAttribute As UInt16Value) As UShort
Public Shared Widening Operator CType (value As UInt16Value) As UShort

Parameters

xmlAttributevalue
UInt16Value

Returns

The converted UInt16 value.

Exceptions

Thrown when value is null.

Applies to