EasyUA Reference
AddEncodeableTypes(Assembly) Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > EncodeableFactory Class : AddEncodeableTypes(Assembly) Method

assembly
The assembly containing the types to add to the factory

Glossary Item Box

Adds all encodable types exported from an assembly to the factory.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As EncodeableFactory
Dim assembly As Assembly
 
instance.AddEncodeableTypes(assembly)
C# 
public void AddEncodeableTypes( 
   Assembly assembly
)

Parameters

assembly
The assembly containing the types to add to the factory

Remarks

Adds all encodable types exported from an assembly to the factory.

This method uses reflection on the specified assembly to export all of the types the assembly exposes, and automatically adds all types that implement the IEncodeable interface, to the factory.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.