Set some file attributes

Namespace: Contracts.IO
Assembly: Contracts (in Contracts.dll)

Public Shared Sub SetAttributes( _ 
ByVal path As String, _ 
ByVal a As FileAttributes
)
This language is not supported or no code example is available.
public static void SetAttributes( 
string path
FileAttributes a 
)
This language is not supported or no code example is available.
public:  
static void SetAttributes( 
String^ path
FileAttributes a 
)
This language is not supported or no code example is available.
public static function SetAttributes( 
path : String
a : FileAttributes 
);
This language is not supported or no code example is available.

Parameters

path
Type: string

<default>

a
Type: FileAttributes

<default>

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1