OPC Studio 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
 
<NotNullAttribute()>
Public Function GetMappedFileInfoDictionary() As IReadOnlyDictionary(Of String,IFileInfo2)
'Usage
 
Dim instance As MappedFileProvider
Dim value As IReadOnlyDictionary(Of String,IFileInfo2)
 
value = instance.GetMappedFileInfoDictionary()
[NotNull()]
public IReadOnlyDictionary<string,IFileInfo2> GetMappedFileInfoDictionary()
[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.

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

The individual elements of the returned value are never 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