BooleanValue Class
Definition
Represents the Boolean value for attributes.
public class BooleanValue : DocumentFormat.OpenXml.OpenXmlSimpleValue<bool>
type BooleanValue = class
inherit OpenXmlSimpleValue<bool>
Public Class BooleanValue
Inherits OpenXmlSimpleValue(Of Boolean)
- Inheritance
Constructors
BooleanValue() |
Initializes a new instance of the BooleanValue class. |
BooleanValue(Boolean) |
Initializes a new instance of the BooleanValue class using the supplied Boolean value. |
BooleanValue(BooleanValue) |
Initializes a new instance of the BooleanValue class by deep copying the supplied BooleanValue class. |
Properties
HasValue |
Gets a value that indicates whether the underneath text value is a valid value. (Inherited from OpenXmlSimpleValue<T>) |
InnerText |
Gets or sets the inner XML text. |
TextValue |
DON'T use this property. Only for OpenXmlSimpleType.cs internal use. The internal raw text value. (Inherited from OpenXmlSimpleType) |
Value |
Gets or sets the value of the simple value. (Inherited from OpenXmlSimpleValue<T>) |
Methods
Clone() |
Creates a duplicate of the current value. (Inherited from OpenXmlSimpleType) |
FromBoolean(Boolean) |
Returns a new BooleanValue object that was created by using the supplied Boolean value. |
ToBoolean(BooleanValue) |
Returns the Boolean representation of a BooleanValue object. |
ToString() |
Returns a String that represents the current value. (Inherited from OpenXmlSimpleType) |
Operators
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. |