Files
Aug2021-Cpp2IL-Dump/System/Configuration/IPersistComponentSettings.cs
T
2026-04-10 22:50:51 +02:00

63 lines
2.1 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Configuration
{
/// <summary>Defines standard functionality for controls or libraries that store and retrieve application settings.</summary>
// Token: 0x020003C5 RID: 965
[Token(Token = "0x20003C5")]
public interface IPersistComponentSettings
{
/// <summary>Gets or sets a value indicating whether the control should automatically persist its application settings properties.</summary>
/// <returns>
/// <see langword="true" /> if the control should automatically persist its state; otherwise, <see langword="false" />.</returns>
// Token: 0x170005B3 RID: 1459
// (get) Token: 0x0600196C RID: 6508
// (set) Token: 0x0600196D RID: 6509
[Token(Token = "0x170005B3")]
bool SaveSettings
{
[Token(Token = "0x600196C")]
[Address(Slot = "0")]
get;
[Token(Token = "0x600196D")]
[Address(Slot = "1")]
set;
}
/// <summary>Gets or sets the value of the application settings key for the current instance of the control.</summary>
/// <returns>A <see cref="T:System.String" /> containing the settings key for the current instance of the control.</returns>
// Token: 0x170005B4 RID: 1460
// (get) Token: 0x0600196E RID: 6510
// (set) Token: 0x0600196F RID: 6511
[Token(Token = "0x170005B4")]
string SettingsKey
{
[Token(Token = "0x600196E")]
[Address(Slot = "2")]
get;
[Token(Token = "0x600196F")]
[Address(Slot = "3")]
set;
}
/// <summary>Reads the control's application settings into their corresponding properties and updates the control's state.</summary>
// Token: 0x06001970 RID: 6512
[Token(Token = "0x6001970")]
[Address(Slot = "4")]
void LoadComponentSettings();
/// <summary>Resets the control's application settings properties to their default values.</summary>
// Token: 0x06001971 RID: 6513
[Token(Token = "0x6001971")]
[Address(Slot = "5")]
void ResetComponentSettings();
/// <summary>Persists the control's application settings properties.</summary>
// Token: 0x06001972 RID: 6514
[Token(Token = "0x6001972")]
[Address(Slot = "6")]
void SaveComponentSettings();
}
}