This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
VRage.Game.ModAPI.Ingame.Utilities.MyIniValue
Malware edited this page Dec 25, 2018
·
50 revisions
← Index
public struct MyIniValue:
Represents the value of a single configuration item.
Namespace: VRage.Game.ModAPI.Ingame.Utilities
Assembly: VRage.Game.dll
Member | Description |
---|---|
Key | Gets the MyIniKey this value was retrieved from |
EMPTY | Represents an empty MyIniValue |
Member | Description |
---|---|
IsEmpty | Determines whether this value is empty. Be aware that an empty string is not considered to be an empty value. |
Member | Description |
---|---|
ToBoolean(bool) | Attempts to get this value as a System.Boolean . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetBoolean(ref bool) | Attempts to get this value as a System.Boolean . Fills thevalue on success. |
ToChar(char) | Attempts to get this value as a System.Char . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetChar(ref char) | Attempts to get this value as a System.Char . Fills thevalue on success. |
ToSByte(sbyte) | Attempts to get this value as a System.SByte . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetSByte(ref sbyte) | Attempts to get this value as a System.SByte . Fills thevalue on success. |
ToByte(byte) | Attempts to get this value as a System.Byte . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetByte(ref byte) | Attempts to get this value as a System.Byte . Fills thevalue on success. |
ToUInt16(ushort) | Attempts to get this value as a System.UInt16 . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetUInt16(ref ushort) | Attempts to get this value as a System.UInt16 . Fills thevalue on success. |
ToInt16(short) | Attempts to get this value as a System.Int16 . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetInt16(ref short) | Attempts to get this value as a System.Int16 . Fills thevalue on success. |
ToUInt32(uint) | Attempts to get this value as a System.UInt32 . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetUInt32(ref uint) | Attempts to get this value as a System.UInt32 . Fills thevalue on success. |
ToInt32(int) | Attempts to get this value as a System.Int32 . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetInt32(ref int) | Attempts to get this value as a System.Int32 . Fills thevalue on success. |
ToUInt64(ulong) | Attempts to get this value as a System.UInt64 . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetUInt64(ref ulong) | Attempts to get this value as a System.UInt64 . Fills thevalue on success. |
ToInt64(long) | Attempts to get this value as a System.Int64 . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetInt64(ref long) | Attempts to get this value as a System.Int64 . Fills thevalue on success. |
ToSingle(float) | Attempts to get this value as a System.Single . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetSingle(ref float) | Attempts to get this value as a System.Single . Fills thevalue on success. |
ToDouble(double) | Attempts to get this value as a System.Double . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetDouble(ref double) | Attempts to get this value as a System.Double . Fills thevalue on success. |
ToDecimal(decimal) | Attempts to get this value as a System.Decimal . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetDecimal(ref decimal) | Attempts to get this value as a System.Decimal . Fills thevalue on success. |
GetLines(List) | |
ToString() | Attempts to get this value as a System.String . If the value is empty or cannot be understood as this data type, an empty string will be returned instead. |
ToString(string) | Attempts to get this value as a System.String . If the value is empty or cannot be understood as this data type, the defaultValue will be returned instead. |
TryGetString(ref string) | Attempts to get this value as a System.String . Fills thevalue on success. |
Write(StringBuilder) | Writes this value as a string to the given string builder. |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!