Altova MapForce 2024 Professional Edition

Remove

Home Prev Top Next

Removes a library reference from the Manage Libraries window.

 

Signature

Remove(in i_strFileName:String) -> Void

 

Parameters

Name

Type

Description

i_strFileName

String

The path of the library file to remove. Note that the path must reflect exactly the current (most recent) state of the LibraryImport object. Remember that the path may be either relative or absolute, and it may have changed if you saved the document, depending on the LibraryImport.SaveRelativePath flag. Therefore, if the LibraryImport object currently contains a relative path, then you should supply a relative path as value of this parameter. Otherwise, the library is not found and the Remove method fails.

 

The above applies only for locally imported libraries. For globally imported libraries, the path must always be absolute (since globally imported libraries cannot have a relative path)

 

Errors

Error code

Description

2400

The object is no longer valid.

© 2017-2023 Altova GmbH