Method GetSettingsPath
GetSettingsPath(string, string)
Get a path for a settings file relative to the calling assembly package directory.
Declaration
public static string GetSettingsPath(string packageName, string name = "Settings")
Parameters
| Type | Name | Description |
|---|---|---|
| string | packageName | The name of the package requesting this setting. |
| string | name | An optional name for the settings file. Default is "Settings." |
Returns
| Type | Description |
|---|---|
| string | A package-scoped path to the settings file within Project Settings. |