TrueFalseValue Class
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.
Represents the data type for attributes that have enum values that are Boolean values that represent 't' or 'f', or 'true' or 'false'.
public class TrueFalseValue : DocumentFormat.OpenXml.OpenXmlComparableSimpleValue<bool>
public class TrueFalseValue : DocumentFormat.OpenXml.OpenXmlSimpleType
type TrueFalseValue = class
inherit OpenXmlComparableSimpleValue<bool>
type TrueFalseValue = class
inherit OpenXmlSimpleType
Public Class TrueFalseValue
Inherits OpenXmlComparableSimpleValue(Of Boolean)
Public Class TrueFalseValue
Inherits OpenXmlSimpleType
- Inheritance
- Inheritance
Constructors
TrueFalseValue() |
Initializes a new instance of TrueFalseValue class. |
TrueFalseValue(Boolean) |
Initializes a new instance of TrueFalseValue class using the supplied Boolean value. |
TrueFalseValue(TrueFalseValue) |
Initializes a new instance of the TrueFalseValue class using the supplied TrueFalseValue class. |
Properties
HasValue | |
HasValue |
Gets a value that indicates whether the underneath text value is a valid value. (Inherited from OpenXmlSimpleValue<T>) |
InnerText | |
InnerText |
Gets or sets the inner XML text. (Inherited from OpenXmlSimpleValue<T>) |
TextValue |
Obsolete.
Gets or sets the internal raw text value. DO NOT use this property. Only for OpenXmlSimpleType.cs internal use. (Inherited from OpenXmlSimpleType) |
Value | |
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) |
CompareTo(Object) | (Inherited from OpenXmlComparableSimpleValue<T>) |
CompareTo(OpenXmlComparableSimpleValue<T>) | (Inherited from OpenXmlComparableSimpleValue<T>) |
CompareTo(T) | (Inherited from OpenXmlComparableSimpleValue<T>) |
Equals(Object) | (Inherited from OpenXmlComparableSimpleValue<T>) |
Equals(OpenXmlComparableSimpleValue<T>) | (Inherited from OpenXmlComparableSimpleValue<T>) |
Equals(T) | (Inherited from OpenXmlComparableSimpleValue<T>) |
FromBoolean(Boolean) |
Returns a new TrueFalseValue object that was created from a Boolean value. |
GetHashCode() | (Inherited from OpenXmlComparableSimpleValue<T>) |
ToBoolean(TrueFalseValue) |
Returns the internal Boolean representation of a TrueFalseValue object. |
ToString() |
Returns a String that represents the current value. (Inherited from OpenXmlSimpleType) |
Operators
Implicit(Boolean to TrueFalseValue) |
Implicitly converts a Boolean value to a TrueFalseValue instance. |
Implicit(TrueFalseValue to Boolean) |
Implicitly converts a TrueFalseValue class to a Boolean value. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應