OnOffValue.ToBoolean(OnOffValue) 方法

定义

返回 对象的内部 Boolean 表示形式 OnOffValue

public static bool ToBoolean (DocumentFormat.OpenXml.OnOffValue xmlAttribute);
public static bool ToBoolean (DocumentFormat.OpenXml.OnOffValue value);
static member ToBoolean : DocumentFormat.OpenXml.OnOffValue -> bool
static member ToBoolean : DocumentFormat.OpenXml.OnOffValue -> bool
Public Shared Function ToBoolean (xmlAttribute As OnOffValue) As Boolean
Public Shared Function ToBoolean (value As OnOffValue) As Boolean

参数

xmlAttributevalue
OnOffValue

返回

一个BooleanOnOffValue表示 对象的 值。

适用于