Shell32Win32DeleteFile Method

Deletes a file.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Shell32.dll", CharSet = CharSet.Auto, BestFitMapping = false, 
	ExactSpelling = true, ThrowOnUnmappableChar = true, SetLastError = true)]
public static bool Win32DeleteFile(
	string path
)

Parameters

path  String
A pointer to a buffer that contains the full name of the file to delete.

Return Value

Boolean
if the file was successfully deleted; otherwise .

Remarks

See Also