Xceed .NET Libraries Documentation
Xceed.FileSystem Assembly / Xceed.FileSystem Namespace / DiskFile Class / DiskFile Constructor / DiskFile Constructor(FileSystemEvents,Object,String,IIOHandler)
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.
A String that represents the fully qualified name of the underlying physical file. This file may or may not physically exist. Cannot be a null reference (Nothing in Visual Basic).


In This Topic
    DiskFile Constructor(FileSystemEvents,Object,String,IIOHandler)
    In This Topic
    Syntax
    'Declaration
     
    Protected Friend Function New( _
       ByVal events As FileSystemEvents, _
       ByVal userData As Object, _
       ByVal fileName As String, _
       ByVal ioHandler As IIOHandler _
    )
    'Usage
     
    Dim events As FileSystemEvents
    Dim userData As Object
    Dim fileName As String
    Dim ioHandler As IIOHandler
     
    Dim instance As New DiskFile(events, userData, fileName, ioHandler)
    protected internal DiskFile( 
       FileSystemEvents events,
       object userData,
       string fileName,
       IIOHandler ioHandler
    )

    Parameters

    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.
    fileName
    A String that represents the fully qualified name of the underlying physical file. This file may or may not physically exist. Cannot be a null reference (Nothing in Visual Basic).
    ioHandler
    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