Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# DocumentInfo.clone Method

Module: DocumentInfo

## Definition

Clones the DocumentInfo object.

Python

    clone(self) -> DocumentInfo

Returns

> DocumentInfo
> The newly created document info.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Dart

    DocumentInfo clone()

Returns

> DocumentInfo
> The newly created document info.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C#

    public DocumentInfo Clone()

Returns

> DocumentInfo
> The newly created document info.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Java

    public DocumentInfo clone() throws DocumentException

Returns

> DocumentInfo
> The newly created document info.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Swift

    public func clone() throws -> DocumentInfo

Returns

> DocumentInfo
> The newly created document info.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C

    int id3DocumentInfo_CopyTo (
        ID3_DOCUMENT_INFO hDocumentInfo,
        ID3_DOCUMENT_INFO hDocumentInfoDst)

Parameters

> `hDocumentInfo` ID3_DOCUMENT_INFO
> in Handle to the DocumentInfo object.
> `hDocumentInfoDst` ID3_DOCUMENT_INFO
> out The newly created document info.

Returns

> `int`
> An error code.
> See id3DocumentError file for the list of possible error codes.