OPC Studio User's Guide and Reference
Watch Method



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

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

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

Parameters

filter

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