.NET Framework Class Library
File.SetReadOnlyFlag Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > File Class > File Methods >

.NET Framework Class Library
File.SetReadOnlyFlag Method

Set the read-only flag in the specified file

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub SetReadOnlyFlag ( _

fileName As String _
)

C#

public void SetReadOnlyFlag(

string fileName
)

Visual C++

public:

void SetReadOnlyFlag(
String^ fileName
)

JavaScript

function setReadOnlyFlag(fileName);

Parameters

fileName

Type: System.String
name of the file

Remarks

See Also

File Class

File Members

MwPDMApi Namespace