Edit

Share via


RegistryPermissionAttribute.ViewAndModify Property

Definition

Gets or sets a specified set of registry keys that can be viewed and modified.

public:
 property System::String ^ ViewAndModify { System::String ^ get(); void set(System::String ^ value); };
public string ViewAndModify { get; set; }
member this.ViewAndModify : string with get, set
Public Property ViewAndModify As String

Property Value

A semicolon-separated list of registry key paths, for create, read, and write access.

Exceptions

The get accessor is called; it is only provided for C# compiler compatibility.

Remarks

Key access implies access to all values it contains and all variables under it.

This property specifies Create, Read, and Write access rights for the specified keys and their values. The access rights are for registry data only; they do not include the access control rights ChangeAccessControl or ViewAccessControl.

Note

The get accessor is provided for C# compiler compatibility. The C# compiler requires attribute properties to be read/write.

Applies to