Xceed .NET Libraries Documentation
DoCreate Method (StreamFile)


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > StreamFile 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. This method will always throw a FileSystemNotSupportedException exception since it is not possible to recreate a StreamFile once it has been destroyed.
Syntax
'Declaration
 
Protected Friend Overrides Sub DoCreate( _

   ByVal session As FileSystemEventsSession _

) 
'Usage
 
Dim instance As StreamFile

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.
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

StreamFile Class
StreamFile Members
Base Implementation in DoCreate