Table of Contents

Method GetString

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

GetString(string, string, string)

Gets a string preference.

public static string GetString(string scope, string key, string defaultValue = "")

Parameters

scope string

The scope namespace.

key string

The key within the scope.

defaultValue string

The value to return if the key does not exist.

Returns

string

The stored value, or defaultValue if not found.