FileIOPermissionAttribute.Append Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets append access for the file or directory that is specified by the string value.

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

public string Append { get; set; }

Property Value

Type: System.String

The absolute path of the file or directory for append access.

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

The following code example sets the Append property to grant Append access to files in the specified directory.

// Set the Append property.
     Append = "C:\\Documents and Settings\\All Users\\Application Data")]

.NET Framework
Available since 1.1
Return to top