System.Object
EPLAN.Harness.API.DataStructures.LibraryConnections.BaseLibraryConnection
EPLAN.Harness.API.DataStructures.LibraryConnections.XmlLibraryConnection
System.Object
EPLAN.Harness.API.DataStructures.LibraryConnections.BaseLibraryConnection
EPLAN.Harness.API.DataStructures.LibraryConnections.XmlLibraryConnection
public class XmlLibraryConnection : BaseLibraryConnection
// Create connection to XML library. XmlLibraryConnection connection = new XmlLibraryConnection("path to the library"); // Path to the created connection file. string path = connection.ConnectionPath; // Using this connection you can connect project to the library. Project project = ... project.ConnectToLibrary(connection): // If the library is password protected, you must specify the password: // 1.) When creating a connection (only once): connection = new XmlLibraryConnection("path to the library", "password"); project.ConnectToLibrary(connection); // 2.) When connecting to the library (always when connecting to the library): connection = new XmlLibraryConnection("path to the library"); project.ConnectToLibrary(connection, "password");
Name | Description | |
---|---|---|
![]() | XmlLibraryConnection Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | ConnectionPath | Path to the connection file. (Inherited from EPLAN.Harness.API.DataStructures.LibraryConnections.BaseLibraryConnection) |
![]() | LibraryPath | Path to the XML library. |
![]() | Name | Name of the library. |
Name | Description | |
---|---|---|
![]() | ChangeSavedPassword | Change saved password to this connection. |