Xceed .NET Libraries Documentation
DoCreate Method (DiskFile)


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > DiskFile Class : DoCreate Method
A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
Creates the physical file.
Syntax
'Declaration
 
Protected Friend Overrides Sub DoCreate( _
   ByVal session As FileSystemEventsSession _
) 
'Usage
 
Dim instance As DiskFile
Dim session As FileSystemEventsSession
 
instance.DoCreate(session)
protected internal override void DoCreate( 
   FileSystemEventsSession session
)

Parameters

session
A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
Remarks

The file must be created in a folder that exists otherwise an exception will be thrown.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DiskFile Class
DiskFile Members
Base Implementation in DoCreate