Imports/Trinet.Core.IO.Ntfs/Source/AlternateDataStreamInfo.cs
/// <summary>
/// Deletes this stream from the parent file.
/// </summary>
/// <returns>
/// <see langword="true"/> if the stream was deleted;
/// otherwise, <see langword="false"/>.
/// </returns>
/// <exception cref="SecurityException">
/// The caller does not have the required permission. 
/// </exception>
/// <exception cref="UnauthorizedAccessException">
/// The caller does not have the required permission, or the file is read-only.
/// </exception>
/// <exception cref="IOException">
/// The specified file is in use. 
/// </exception>
/// <exception cref="ArgumentException">
/// The path of the stream is invalid.
/// </exception>
Deletes this stream from the parent file.
Deletes this stream from the parent file .
public bool Delete()
		{
			const FileIOPermissionAccess permAccess = FileIOPermissionAccess.Write;
			new FileIOPermission(permAccess, _filePath).Demand();
			return SafeNativeMethods.SafeDeleteFile(this.FullPath);
		}
public bool Delete ( ) { const FileIOPermissionAccess permAccess = FileIOPermissionAccess . Write ; new FileIOPermission ( permAccess , _filePath ) . Demand ( ) ; return SafeNativeMethods . SafeDeleteFile ( this . FullPath ) ; }
Deletes this stream from the parent file.
Deletes this stream from the parent file .
if the stream was deleted;
otherwise, .
if the stream was deleted ; otherwise .
The caller does not have the required permission.
The caller does not have the required permission .
The caller does not have the required permission, or the file is read-only.
The caller does not have the required permission or the file is read - only .
The specified file is in use.
The specified file is in use .
The path of the stream is invalid.
The path of the stream is invalid .