Method ImportFile
ImportFile(string, PdmObjectId, string)
Imports a file without conversion.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 0, 0)]
PdmObjectId ImportFile(string inFullName, PdmObjectId inOwnerId, string inDocumentName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | inFullName | Full name of the file to import. |
| PdmObjectId | inOwnerId | PDM object identifier of project or folder owner where imported file is to be stored. |
| string | inDocumentName | Name of the new document. |
Returns
| Type | Description |
|---|---|
| PdmObjectId | Identifier of the created document. |
Remarks
This method must not be called between StartModification(string, bool) and EndModification(bool, bool) methods calls.
This method is available since v7.7.