This documentation is archived and is not being maintained.

RegistryPermissionAttribute.Create Property

Gets or sets create-level access for the specified registry keys.

Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)

public string Create { get; set; }
/** @property */
public String get_Create ()

/** @property */
public void set_Create (String value)

public function get Create () : String

public function set Create (value : String)

Not applicable.

Property Value

A semicolon-separated list of registry key paths, for create-level access.

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

The following example uses the Create property to set create-level access for the specified registry key path.


/** @attribute RegistryPermissionAttribute(SecurityAction.PermitOnly,

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0