BooleanValue.ToBoolean(BooleanValue) Method   
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.
Returns the Boolean representation of a BooleanValue object.
public static bool ToBoolean(DocumentFormat.OpenXml.BooleanValue xmlAttribute);public static bool ToBoolean(DocumentFormat.OpenXml.BooleanValue value);static member ToBoolean : DocumentFormat.OpenXml.BooleanValue -> boolstatic member ToBoolean : DocumentFormat.OpenXml.BooleanValue -> boolPublic Shared Function ToBoolean (xmlAttribute As BooleanValue) As BooleanPublic Shared Function ToBoolean (value As BooleanValue) As BooleanParameters
- xmlAttributevalue
- BooleanValue
Returns
A Boolean value that represents a BooleanValue object.