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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應