QuickOPC User's Guide and Reference
GetMappedFileInfoDictionary Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Extensions.FileProviders Namespace > MappedFileProvider Class : GetMappedFileInfoDictionary Method
Obtains all file name mappings.
Syntax
'Declaration
 
<ElementsNotNullAttribute()>
<NotNullAttribute()>
Public Function GetMappedFileInfoDictionary() As IReadOnlyDictionary(Of String,IFileInfo2)
'Usage
 
Dim instance As MappedFileProvider
Dim value As IReadOnlyDictionary(Of String,IFileInfo2)
 
value = instance.GetMappedFileInfoDictionary()
[ElementsNotNull()]
[NotNull()]
public IReadOnlyDictionary<string,IFileInfo2> GetMappedFileInfoDictionary()
[ElementsNotNull()]
[NotNull()]
public:
IReadOnlyDictionary<String^,IFileInfo2^>^ GetMappedFileInfoDictionary(); 

Return Value

Returns a read-only dictionary whose keys are the mapped file names, and the values are the corresponding file infos.
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