.NET Framework Class Library
File.CheckReadOnlyFlag Method

<< Click to Display Table of Contents >>

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

.NET Framework Class Library
File.CheckReadOnlyFlag Method

Check if the read-only flag in the specified file is set

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

Syntax

Visual Basic

Public Function CheckReadOnlyFlag ( _

fileName As String _
) As Boolean

C#

public bool CheckReadOnlyFlag(

string fileName
)

Visual C++

public:

bool CheckReadOnlyFlag(
String^ fileName
)

JavaScript

function checkReadOnlyFlag(fileName);

Parameters

fileName

Type: System.String
name of the file

Return Value

TRUE if the read-only flag for the fileName is set, FALSE otherwise

Remarks

See Also

File Class

File Members

MwPDMApi Namespace