NativeFileIOSafeNativeMethodsSetFileAttributes Method |
Namespace:
Arsenal.ImageMounter.IO
Assembly:
Arsenal.ImageMounter (in Arsenal.ImageMounter.dll) Version: 1.0.0.0 (3.4.140.0)
Syntax [DllImportAttribute("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
public static bool SetFileAttributes(
string lpFileName,
FileAttributes dwFileAttributes
)
<DllImportAttribute("kernel32.dll", CharSet := CharSet.Auto, SetLastError := true>]
Public Shared Function SetFileAttributes (
lpFileName As String,
dwFileAttributes As FileAttributes
) As Boolean
public:
[DllImportAttribute(L"kernel32.dll", CharSet = CharSet::Auto, SetLastError = true)]
static bool SetFileAttributes(
[InAttribute] String^ lpFileName,
FileAttributes dwFileAttributes
)
[<DllImportAttribute("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)>]
static member SetFileAttributes :
lpFileName : string *
dwFileAttributes : FileAttributes -> bool
Parameters
- lpFileName
- Type: SystemString
- dwFileAttributes
- Type: System.IOFileAttributes
Return Value
Type:
BooleanSee Also