OPC Studio User's Guide and Reference
GetDirectoryContents Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Extensions.FileProviders Namespace > MappedFileProvider Class : GetDirectoryContents Method

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

Syntax
'Declaration
 
<NotNullAttribute()>
Public Function GetDirectoryContents( _
   ByVal subpath As String _
) As IDirectoryContents
'Usage
 
Dim instance As MappedFileProvider
Dim subpath As String
Dim value As IDirectoryContents
 
value = instance.GetDirectoryContents(subpath)
[NotNull()]
public IDirectoryContents GetDirectoryContents( 
   string subpath
)
[NotNull()]
public:
IDirectoryContents^ GetDirectoryContents( 
   String^ subpath
) 

Parameters

subpath

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

Return Value

This method never returns null (Nothing in Visual Basic).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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