OPC Studio User's Guide and Reference
ShouldLoadFromType Method (AbstractTypeMappingDefinition)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.LiveMapping Namespace > AbstractTypeMappingDefinition Class : ShouldLoadFromType Method
The type candidate.

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

Determines whether the type mapping definition should be loaded from a given type.
Syntax
'Declaration
 
Public Overridable Function ShouldLoadFromType( _
   ByVal type As Type _
) As Boolean
'Usage
 
Dim instance As AbstractTypeMappingDefinition
Dim type As Type
Dim value As Boolean
 
value = instance.ShouldLoadFromType(type)
public virtual bool ShouldLoadFromType( 
   Type type
)
public:
virtual bool ShouldLoadFromType( 
   Type^ type
) 

Parameters

type
The type candidate.

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

Return Value

true if the definition should be loaded from a given type; 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