Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRage.Game.ModAPI.Ingame.Utilities.MyIniKey

Morten Aune Lyrstad edited this page Apr 16, 2022 · 53 revisions

IndexNamespace Index

MyIniKey Struct

public struct MyIniKey: IEquatable\<MyIniKey\>

Represents the combination of a section and a key in a MyIni structure.

Namespace: VRage.Game.ModAPI.Ingame.Utilities
Assembly: VRage.Game.dll

Implements:

Fields

Member Description
static MyIniKey EMPTY

Properties

Member Description
bool IsEmpty { get; } Determines whether this MyIniKey is empty.
string Name { get; } Gets the Key part of this MyIniKey
string Section { get; } Gets the Section part of this MyIniKey

Constructors

Member Description
MyIniKey(string, string)

Methods

Member Description
static MyIniKey Parse(string) Parses a string in the form ofsection/keyinto a MyIniKey object.
static bool TryParse(string, out MyIniKey) Parses a string in the form ofsection/keyinto a MyIniKey object.
bool Equals(MyIniKey) Compares this MyIniKey with another. Note that this is equality in the sense of a configuration key, which means the comparison is implicitly case insensitive.
bool Equals(object) Compares this MyIniKey with another. Note that this is equality in the sense of a configuration key, which means the comparison is implicitly case insensitive.
int GetHashCode() Gets the hash code representing this MyIniKey
string ToString() Generates a string representing this MyIniKey in the form ofsection/key.

Clone this wiki locally