System.Security.Permissions.FileIOPermissionAttribute.ViewAndModify Property

Gets or sets the file or directory in which file data can be viewed and modified.

Syntax

public string ViewAndModify { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This property sets the FileIOPermissionAttribute.Append, FileIOPermissionAttribute.PathDiscovery, FileIOPermissionAttribute.Read, and FileIOPermissionAttribute.Write properties for a single file or directory. Use additional System.Security.Permissions.FileIOPermissionAttribute attributes to specify additional files and directories. The access rights are for file data only; they do not include the access control properties FileIOPermissionAttribute.ViewAccessControl and FileIOPermissionAttribute.ChangeAccessControl.

Note:

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

Requirements

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