OPC Studio User's Guide and Reference
GetFileInfo Method



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

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

Syntax
'Declaration
 
<NotNullAttribute()>
Public Function GetFileInfo( _
   ByVal subpath As String _
) As IFileInfo
'Usage
 
Dim instance As MappedFileProvider
Dim subpath As String
Dim value As IFileInfo
 
value = instance.GetFileInfo(subpath)
[NotNull()]
public IFileInfo GetFileInfo( 
   string subpath
)
[NotNull()]
public:
IFileInfo^ GetFileInfo( 
   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