OPC Studio User's Guide and Reference
LoadFromType Method (UATypeMappingDefinition)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.LiveMapping Namespace > UATypeMappingDefinition Class : LoadFromType Method
The type from which the definition should be loaded into this object.The type from which the definition should be loaded into this object.
The mapping provider to be used.The mapping provider to be used.
Loads the type definition from a given type, using a specified mapping provider. Loads the type definition from a given type, using a specified mapping provider.
Syntax
'Declaration
 
Public Overrides NotOverridable Sub LoadFromType( _
   ByVal type As Type, _
   ByVal mappingProvider As AbstractMappingProvider _
) 
'Usage
 
Dim instance As UATypeMappingDefinition
Dim type As Type
Dim mappingProvider As AbstractMappingProvider
 
instance.LoadFromType(type, mappingProvider)
public override void LoadFromType( 
   Type type,
   AbstractMappingProvider mappingProvider
)
public:
void LoadFromType( 
   Type^ type,
   AbstractMappingProvider^ mappingProvider
) override 

Parameters

type
The type from which the definition should be loaded into this object.The type from which the definition should be loaded into this object.
mappingProvider
The mapping provider to be used.The mapping provider to be used.
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