OnOffValue Members
Include Protected Members
Include Inherited Members
Define OnOffValue ¨C datatype for attributes that have enum values as !®true! ̄, !®false! ̄, !®on! ̄, !®off! ̄, !®0! ̄, !®1! ̄ meaning Boolean true/false.
The OnOffValue type exposes the following members.
Constructors
Name | Description | |
---|---|---|
OnOffValue() | Initializes a new instance of OnOffValue. | |
OnOffValue(Boolean) | Initializes a new instance of OnOffValue. | |
OnOffValue(OnOffValue) | Initializes a new instance of OnOffValue. |
Top
Properties
Name | Description | |
---|---|---|
HasValue | Gets a value indicating whether underneath text value is valid value. (Overrides OpenXmlSimpleType.HasValue.) | |
InnerText | Gets or sets the inner xml text. (Overrides OpenXmlSimpleType.InnerText.) | |
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. |
Top
Methods
Name | Description | |
---|---|---|
Clone | Creates a duplicate of this value. (Inherited from OpenXmlSimpleType.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FromBoolean | Returns a new OnOffValue object created from Boolean. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToBoolean | Returns the internal Boolean representation of a OnOffValue object. | |
ToString | Returns a String that represents the current value. (Inherited from OpenXmlSimpleType.) |
Top
Operators
Name | Description | |
---|---|---|
Implicit(Boolean to OnOffValue) | Implicitly converts from Boolean. | |
Implicit(OnOffValue to Boolean) | Implicitly converts to Boolean. |
Top