OPC Studio User's Guide and Reference
FileSystemNodeTreePosition Constructor(FileSystemNodeTreePosition,Exception,IFileProvider,IFileInfo,IDirectoryContents,String)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Extensions.FileProviders Namespace > FileSystemNodeTreePosition Class > FileSystemNodeTreePosition Constructor : FileSystemNodeTreePosition Constructor(FileSystemNodeTreePosition,Exception,IFileProvider,IFileInfo,IDirectoryContents,String)
The parent object in the tree.
The exception encountered during browsing.
The file provider that the tree position will represent.
The file info that the tree position will represent.
The directory contents that the tree position will represent.
The full path to the file or directory, including the file or directory name.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal parentPosition As FileSystemNodeTreePosition, _
   ByVal browseException As Exception, _
   ByVal fileProvider As IFileProvider, _
   ByVal fileInfo As IFileInfo, _
   ByVal directoryContents As IDirectoryContents, _
   ByVal fullPath As String _
)
'Usage
 
Dim parentPosition As FileSystemNodeTreePosition
Dim browseException As Exception
Dim fileProvider As IFileProvider
Dim fileInfo As IFileInfo
Dim directoryContents As IDirectoryContents
Dim fullPath As String
 
Dim instance As New FileSystemNodeTreePosition(parentPosition, browseException, fileProvider, fileInfo, directoryContents, fullPath)

Parameters

parentPosition
The parent object in the tree.
browseException
The exception encountered during browsing.
fileProvider
The file provider that the tree position will represent.
fileInfo
The file info that the tree position will represent.
directoryContents
The directory contents that the tree position will represent.
fullPath
The full path to the file or directory, including the file or directory name.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also