OnOffValue.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(Boolean to OnOffValue) |
Implicitly converts a Boolean value to an OnOffValue value. |
Implicit(OnOffValue to Boolean) |
Implicitly converts the specified OnOffValue object to a Boolean value. |
Implicit(Boolean to OnOffValue)
Implicitly converts a Boolean value to an OnOffValue value.
public static implicit operator DocumentFormat.OpenXml.OnOffValue (bool value);
static member op_Implicit : bool -> DocumentFormat.OpenXml.OnOffValue
Public Shared Widening Operator CType (value As Boolean) As OnOffValue
Parameters
Returns
The converted OnOffValue.
Applies to
Implicit(OnOffValue to Boolean)
Implicitly converts the specified OnOffValue object to a Boolean value.
public static implicit operator bool (DocumentFormat.OpenXml.OnOffValue xmlAttribute);
public static implicit operator bool (DocumentFormat.OpenXml.OnOffValue value);
static member op_Implicit : DocumentFormat.OpenXml.OnOffValue -> bool
static member op_Implicit : DocumentFormat.OpenXml.OnOffValue -> bool
Public Shared Widening Operator CType (xmlAttribute As OnOffValue) As Boolean
Public Shared Widening Operator CType (value As OnOffValue) As Boolean
Parameters
- xmlAttributevalue
- OnOffValue
Returns
The converted Boolean value.