Aracılığıyla paylaş


SingleValue.Implicit Operator

Definition

Overloads

Implicit(Single to SingleValue)

Implicitly converts the specified Single value to a SingleValue object.

Implicit(SingleValue to Single)

Implicitly converts the specified SingleValue object to a Single value.

Implicit(Single to SingleValue)

Implicitly converts the specified Single value to a SingleValue object.

public static implicit operator DocumentFormat.OpenXml.SingleValue (float value);
static member op_Implicit : single -> DocumentFormat.OpenXml.SingleValue
Public Shared Widening Operator CType (value As Single) As SingleValue

Parameters

value
Single

The specified value.

Returns

A new SingleValue instance with the value.

Applies to

Implicit(SingleValue to Single)

Implicitly converts the specified SingleValue object to a Single value.

public static implicit operator float (DocumentFormat.OpenXml.SingleValue xmlAttribute);
public static implicit operator float (DocumentFormat.OpenXml.SingleValue value);
static member op_Implicit : DocumentFormat.OpenXml.SingleValue -> single
static member op_Implicit : DocumentFormat.OpenXml.SingleValue -> single
Public Shared Widening Operator CType (xmlAttribute As SingleValue) As Single
Public Shared Widening Operator CType (value As SingleValue) As Single

Parameters

xmlAttributevalue
SingleValue

Returns

The converted Single value.

Exceptions

Thrown when value is null.

Applies to