BooleanValue.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 BooleanValue) | Initializes a new instance of the BooleanValue class by implicitly converting the supplied Boolean value. | 
| Implicit(BooleanValue to Boolean) | Implicitly converts the specified value to a Boolean value. | 
Implicit(Boolean to BooleanValue)
Initializes a new instance of the BooleanValue class by implicitly converting the supplied Boolean value.
public static implicit operator DocumentFormat.OpenXml.BooleanValue(bool value);static member op_Implicit : bool -> DocumentFormat.OpenXml.BooleanValuePublic Shared Widening Operator CType (value As Boolean) As BooleanValueParameters
Returns
A new BooleanValue instance with the value.
Applies to
Implicit(BooleanValue to Boolean)
Implicitly converts the specified value to a Boolean value.
public static implicit operator bool(DocumentFormat.OpenXml.BooleanValue xmlAttribute);public static implicit operator bool(DocumentFormat.OpenXml.BooleanValue value);static member op_Implicit : DocumentFormat.OpenXml.BooleanValue -> boolstatic member op_Implicit : DocumentFormat.OpenXml.BooleanValue -> boolPublic Shared Widening Operator CType (xmlAttribute As BooleanValue) As BooleanPublic Shared Widening Operator CType (value As BooleanValue) As BooleanParameters
- xmlAttributevalue
- BooleanValue
Returns
The converted Boolean value.
Exceptions
Thrown when value is null.