Skip to content

4daf9fb6 1498 16c9 f00e 7bad6bf0827e

AnyOldName3 edited this page Apr 12, 2017 · 1 revision

WritableSource.SetFileAttributes Method

Sets the attributes of a file or directory.

Namespace: LVFS.External
Assembly: LVFS (in LVFS.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public abstract NtStatus SetFileAttributes(
	string path,
	FileAttributes attributes
)

VB

Public MustOverride Function SetFileAttributes ( 
	path As String,
	attributes As FileAttributes
) As NtStatus

C++

public:
virtual NtStatus SetFileAttributes(
	String^ path, 
	FileAttributes attributes
) abstract

F#

abstract SetFileAttributes : 
        path : string * 
        attributes : FileAttributes -> NtStatus 

Parameters

 

path
Type: System.String
The path to the file
attributes
Type: System.IO.FileAttributes
The attributes to set

Return Value

Type: NtStatus
Success if the operation was successful. If not, an appropriate error status.

See Also

Reference

WritableSource Class
LVFS.External Namespace

Clone this wiki locally