OPC Studio User's Guide and Reference
HasMappingTag Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveMapping Namespace > AbstractMapping Class : HasMappingTag Method
The mapping tag to be tested.

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

Determines whether this mapping is "tagged" with a given mapping tag.
Syntax
'Declaration
 
Public Function HasMappingTag( _
   ByVal tag As String _
) As Boolean
'Usage
 
Dim instance As AbstractMapping
Dim tag As String
Dim value As Boolean
 
value = instance.HasMappingTag(tag)
public bool HasMappingTag( 
   string tag
)
public:
bool HasMappingTag( 
   String^ tag
) 

Parameters

tag
The mapping tag to be tested.

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

Return Value

true if this mapping has the given mapping tag; false otherwise.
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