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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Extensions.FileProviders Namespace > FileSystemNodeTreePosition Class > FileSystemNodeTreePosition Constructor : FileSystemNodeTreePosition Constructor(FileSystemNodeTreePosition,Exception,IFileProvider,IFileInfo,String)
The parent object in the tree.

The value of this parameter can be null (Nothing in Visual Basic).

The exception encountered during browsing.

The value of this parameter can be null (Nothing in Visual Basic).

The file provider that the tree position will represent.

The value of this parameter can be null (Nothing in Visual Basic).

The file info that the tree position will represent.

The value of this parameter cannot be null (Nothing in Visual Basic).

The full path to the file or directory, including the file or directory name.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, with file info it represents.
Syntax
'Declaration
 
Public Function New( _
   ByVal parentPosition As FileSystemNodeTreePosition, _
   ByVal browseException As Exception, _
   ByVal fileProvider As IFileProvider, _
   ByVal fileInfo As IFileInfo, _
   ByVal fullPath As String _
)
'Usage
 
Dim parentPosition As FileSystemNodeTreePosition
Dim browseException As Exception
Dim fileProvider As IFileProvider
Dim fileInfo As IFileInfo
Dim fullPath As String
 
Dim instance As New FileSystemNodeTreePosition(parentPosition, browseException, fileProvider, fileInfo, fullPath)

Parameters

parentPosition
The parent object in the tree.

The value of this parameter can be null (Nothing in Visual Basic).

browseException
The exception encountered during browsing.

The value of this parameter can be null (Nothing in Visual Basic).

fileProvider
The file provider that the tree position will represent.

The value of this parameter can be null (Nothing in Visual Basic).

fileInfo
The file info that the tree position will represent.

The value of this parameter cannot be null (Nothing in Visual Basic).

fullPath
The full path to the file or directory, including the file or directory name.

The value of this parameter cannot be null (Nothing in Visual Basic).

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