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.SingleValuePublic Shared Widening Operator CType (value As Single) As SingleValueParameters
- 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 -> singlestatic member op_Implicit : DocumentFormat.OpenXml.SingleValue -> singlePublic Shared Widening Operator CType (xmlAttribute As SingleValue) As SinglePublic Shared Widening Operator CType (value As SingleValue) As SingleParameters
- xmlAttributevalue
- SingleValue
Returns
The converted Single value.
Exceptions
Thrown when value is null.