Class Text
A Value representing a piece of text. The only reason this is not named String is so that it doesn't conflict with System.String.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: IPA.Config.Data
Assembly: IPA.Loader.dll
Syntax
public sealed class Text : Value
Constructors
| Improve this Doc View SourceText()
Constructs an empty Text object.
Declaration
[Obsolete("Use the String constructor.")]
public Text()
Text(String)
Constructs a Text object containing the provided value.
Declaration
public Text(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value to construct with. |
Properties
| Improve this Doc View SourceValue
The actual value of this Text object.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceToString()
Converts this Value into a human-readable format.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | a quoted, unescaped string form of Value |