Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRage.Game.ModAPI.Ingame.Utilities.MyIniKey

Morten Aune Lyrstad edited this page Apr 16, 2022 · 52 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

static MyIniKey EMPTY

Properties

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

MyIniKey(string section, string name)

Methods

static MyIniKey Parse(string input)

Parses a string in the form ofsection/keyinto a MyIniKey object.

static bool TryParse(string input, out MyIniKey key)

Parses a string in the form ofsection/keyinto a MyIniKey object.

bool Equals(MyIniKey other)

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 obj)

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