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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Extensions.FileProviders Namespace > FileSystemNodeTreePosition Class > FileSystemNodeTreePosition Constructor : FileSystemNodeTreePosition Constructor(FileSystemNodeTreePosition,Exception,IFileProvider,IDirectoryContents,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 directory contents 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 directory contents it represents.
Syntax
'Declaration
 
Public Function New( _
   ByVal parentPosition As FileSystemNodeTreePosition, _
   ByVal browseException As Exception, _
   ByVal fileProvider As IFileProvider, _
   ByVal directoryContents As IDirectoryContents, _
   ByVal fullPath As String _
)
'Usage
 
Dim parentPosition As FileSystemNodeTreePosition
Dim browseException As Exception
Dim fileProvider As IFileProvider
Dim directoryContents As IDirectoryContents
Dim fullPath As String
 
Dim instance As New FileSystemNodeTreePosition(parentPosition, browseException, fileProvider, directoryContents, 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).

directoryContents
The directory contents 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