.NET Framework Class Library
File.CreateDir Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > File Class > File Methods >

.NET Framework Class Library
File.CreateDir Method

Create a directory path as specified in the function arguments

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

Syntax

Visual Basic

Public Function CreateDir ( _

 strPath As String, _
 blnSave As Boolean _
As Boolean

C#

public bool CreateDir(

 string strPath,
 bool blnSave
)

Visual C++

public:

bool CreateDir(
 StringstrPath,
 bool blnSave
)

JavaScript

function createDir(strPathblnSave);

Parameters

strPath

Type: System.String
directory to create

blnSave

Type: System.Boolean
is a Boolean to specify the creation of the empty file: if it is set to TRUE, it will be created an empty file named Tscreate.dir inside each directory in strPath

Return Value

TRUE if the directory path has been regularly created, FALSE otherwise

Remarks

See Also

File Class

File Members

MwPDMApi Namespace