API Reference
Class
LgpoPolItem
Represents a single LGPO registry policy item (key, value name, kind, data).
Inheritance
- Object
- LgpoPolItem
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method AdmxConverter.ToLgpoItems
- Property AdmxPolicyApplyPlan.Items
- Method LgpoReaderWriter.FromJson
- Method LgpoReaderWriter.Read
- Method RsopReader.Get
Accepted by parameters
- Method LgpoReaderWriter.ToJson
- Method LgpoReaderWriter.Write
Constructors
public LgpoPolItem() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String KeyPath { get; set; } #Registry key path (without the hive), for example Software\\Policies\\Microsoft\\Windows\\PowerShell.
public String ValueName { get; set; } #Registry value name, for example EnableScriptBlockLogging.
public RegistryValueKind Kind { get; set; } #Value kind stored in the policy (REG_DWORD, REG_SZ, etc.).
public Object Data { get; set; } #Value data. Use null to indicate deletion when writing.