OPC Studio User's Guide and Reference
IFileProvider2 Interface
Members 



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Extensions.FileProviders Namespace : IFileProvider2 Interface
An extended read-only file provider abstractions.
Syntax
'Declaration
 
<CLSCompliantAttribute(True)>
<ComVisibleAttribute(False)>
Public Interface IFileProvider2 
   Inherits Microsoft.Extensions.FileProviders.IFileProvider, IDirectory2 
'Usage
 
Dim instance As IFileProvider2
[CLSCompliant(true)]
[ComVisible(false)]
public interface IFileProvider2 : Microsoft.Extensions.FileProviders.IFileProvider, IDirectory2  
[CLSCompliant(true)]
[ComVisible(false)]
public interface class IFileProvider2 : public Microsoft.Extensions.FileProviders.IFileProvider, IDirectory2  
Remarks

Caution: A file provider that implements must return IDirectoryContents2 even from its Microsoft.Extensions.FileProviders.IFileProvider.GetDirectoryContents(System.String) method. This means that when extending an existing file provider that only implements Microsoft.Extensions.FileProviders.IFileProvider, you must wrap the existing file provider instead of extending it (unless Microsoft.Extensions.FileProviders.IFileProvider.GetDirectoryContents(System.String) is implemented as virtual in the extendee).

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