Repository.BlockSim.ImportBlockSimXMLFile

From ReliaWiki
Revision as of 23:47, 23 September 2013 by John Leavitt (talk | contribs)
Jump to navigation Jump to search


Imports from XML file

Method Syntax

ImportBlockSimXMLFile( ByVal XMLFile As String ) As As Boolean
Imports from XML file to the current project.

Parameters

XMLFile The path for the XML file to import.

Usage Example

Declare a new repository connection class.

       Private WithEvents MyRepository As New Repository

Connect to the Synthesis repository.

       Dim Success As Boolean = False
       Success = MyRepository.ConnectToRepository("RepositoryFileNamePath")

Import the XML File to the Synthesis repository.

       Dim SuccessImportXML As Boolean
       SuccessImportXML = MyRepository.ImportBlockSimXMLFile("XMLFilePath")