Xceed .NET Libraries Documentation
DoCreate Method (FileSystemItem)


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > FileSystemItem Class : DoCreate Method
A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
Creates the physical item represented by the FileSystemItem object.
Syntax
'Declaration
 
Protected Friend MustOverride Sub DoCreate( _
   ByVal session As FileSystemEventsSession _
) 
'Usage
 
Dim instance As FileSystemItem
Dim session As FileSystemEventsSession
 
instance.DoCreate(session)
protected internal abstract 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

If the parents of the FileSystemItem object do not exist upon creation of the item, an exception should be thrown.

If an exception is thrown during the creation of the item, the physical item should not be deleted automatically.

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

FileSystemItem Class
FileSystemItem Members