Share via


OnOffValue.Implicit Operator

Definition

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

value
Boolean

The Boolean value to convert.

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.

Applies to