OnOffValue.Implicit 运算符
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Implicit(Boolean to OnOffValue) |
将值隐式转换为BooleanOnOffValue值。 |
Implicit(OnOffValue to Boolean) |
将指定的 OnOffValue 对象隐式转换为 Boolean 值。 |
Implicit(Boolean to OnOffValue)
将值隐式转换为BooleanOnOffValue值。
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
参数
返回
转换后的 OnOffValue。
适用于
Implicit(OnOffValue to Boolean)
将指定的 OnOffValue 对象隐式转换为 Boolean 值。
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
参数
- xmlAttributevalue
- OnOffValue
返回
转换后 Boolean 的值。