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.BooleanValue
Public Shared Widening Operator CType (value As Boolean) As BooleanValue
Parameters
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 -> bool
static member op_Implicit : DocumentFormat.OpenXml.BooleanValue -> bool
Public Shared Widening Operator CType (xmlAttribute As BooleanValue) As Boolean
Public Shared Widening Operator CType (value As BooleanValue) As Boolean
Parameters
- xmlAttributevalue
- BooleanValue
Returns
The converted Boolean value.
Exceptions
Thrown when value
is null.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin