System.Security.Permissions.FileIOPermissionAttribute.Write Property

Gets or sets write access for the file or directory specified by the string value.

Syntax

public string Write { get; set; }

Value

A string containing the absolute path of the file or directory for which write access is secured.

Exceptions

TypeReason
ArgumentExceptionThe path information specified for a set operation contains invalid characters or wild card specifiers.

Remarks

This property sets access for a single file or directory. Use additional attributes to specify additional files and directories.

Requirements

Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0