RegistryOptions 列舉

定義

指定建立登錄機碼時要使用的選項。

此列舉支援其成員值的位元組合。

public enum class RegistryOptions
[System.Flags]
public enum RegistryOptions
[System.Flags]
[System.Serializable]
public enum RegistryOptions
[<System.Flags>]
type RegistryOptions = 
[<System.Flags>]
[<System.Serializable>]
type RegistryOptions = 
Public Enum RegistryOptions
繼承
RegistryOptions
屬性

欄位

None 0

非 Volatile 機碼。 此為預設值。

Volatile 1

Volatile 機碼。 在記憶體中儲存資訊,而且當對應的登錄區卸載時不會保留資訊。

備註

您可以建立登錄機碼,此登錄機碼僅適用于記憶體,且電腦重新開機時不會保存。 這稱為變動性索引鍵。 您可以使用採用 options 參數的方法多載,指定您想要建立變動性或非變動性索引鍵 RegistryKey.CreateSubKey

適用於