SingleValue.Implicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應