OPCDA.NET Reference Manual
LoadEmbedded Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > ItemListLoader Class : LoadEmbedded Method

namespaceFileName
Name of the embedded XML file, containing the required item definition lists. Specify the file name exactly as it is shown in the solution File list and precede it with the Namespace of the defining assembly. E.g. NSPlugin.Sample.xml

Glossary Item Box

Available in the OPCDA.NET Professional Edition only.
Loads an XML file that is embedded in the application EXE and deserializes into an array structure, which is stored in this object. Access methods return selected information in the proper type for XML-DA server calls. To embedd the file in the applicationj EXE the XML file need to included in the Visual Studio project and the build action for this file has to be set to 'Embedded Resource'.

Syntax

Visual Basic (Declaration) 
Public Sub LoadEmbedded( _
   ByVal namespaceFileName As String _
) 
C# 
public void LoadEmbedded( 
   string namespaceFileName
)

Parameters

namespaceFileName
Name of the embedded XML file, containing the required item definition lists. Specify the file name exactly as it is shown in the solution File list and precede it with the Namespace of the defining assembly. E.g. NSPlugin.Sample.xml

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.