Xceed .NET Libraries Documentation
AutoBatchUpdate Constructor(Object,FileSystemEvents,Object)


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > AutoBatchUpdate Class > AutoBatchUpdate Constructor : AutoBatchUpdate Constructor(Object,FileSystemEvents,Object)
Object that may or may not implement the IBatchUpdateable interface.
A FileSystemEvents object that will be used to raise events. Cannot be a null reference (Nothing in Visual Basic).
Opaque data that will be passed back to the event handler when an event is raised.
Verifies if the object implements the IBatchUpdateable interface and raises events during the process.
Syntax
'Declaration
 
Public Function New( _
   ByVal batchUpdateable As Object, _
   ByVal events As FileSystemEvents, _
   ByVal userData As Object _
)
'Usage
 
Dim batchUpdateable As Object
Dim events As FileSystemEvents
Dim userData As Object
 
Dim instance As New AutoBatchUpdate(batchUpdateable, events, userData)
public AutoBatchUpdate( 
   object batchUpdateable,
   FileSystemEvents events,
   object userData
)

Parameters

batchUpdateable
Object that may or may not implement the IBatchUpdateable interface.
events
A FileSystemEvents object that will be used to raise events. Cannot be a null reference (Nothing in Visual Basic).
userData
Opaque data that will be passed back to the event handler when an event is raised.
Remarks

The AutoBatchUpdate class will verify if batchUpdateable implements the IBatchUpdateable interface and will automatically call the BeginUpdate and EndUpdate methods if it does. If batchUpdateable does not implement the IBatchUpdateable interface, the code will be executed normally.

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

AutoBatchUpdate Class
AutoBatchUpdate Members
Overload List