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.OnOffValuePublic Shared Widening Operator CType (value As Boolean) As OnOffValueParameters
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 -> boolstatic member op_Implicit : DocumentFormat.OpenXml.OnOffValue -> boolPublic Shared Widening Operator CType (xmlAttribute As OnOffValue) As BooleanPublic Shared Widening Operator CType (value As OnOffValue) As BooleanParameters
- xmlAttributevalue
- OnOffValue
Returns
The converted Boolean value.