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

# DocumentInfoDictionary.clone Method

Module: DocumentInfoDictionary

## Definition

Clones the DocumentInfoDictionary object.

Python

    clone(self) -> DocumentInfoDictionary

Returns

> DocumentInfoDictionary
> The newly created document info dictionary.

Exceptions

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

Dart

    DocumentInfoDictionary clone()

Returns

> DocumentInfoDictionary
> The newly created document info dictionary.

Exceptions

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

C#

    public DocumentInfoDictionary Clone()

Returns

> DocumentInfoDictionary
> The newly created document info dictionary.

Exceptions

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

Java

    public DocumentInfoDictionary clone() throws DocumentException

Returns

> DocumentInfoDictionary
> The newly created document info dictionary.

Exceptions

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

Swift

    public func clone() throws -> DocumentInfoDictionary

Returns

> DocumentInfoDictionary
> The newly created document info dictionary.

Exceptions

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

C

    int id3DocumentInfoDictionary_CopyTo (
        ID3_DOCUMENT_INFO_DICTIONARY hDocumentInfoDictionary,
        ID3_DOCUMENT_INFO_DICTIONARY hDocumentInfoDictionaryDst)

Parameters

> `hDocumentInfoDictionary` ID3_DOCUMENT_INFO_DICTIONARY
> in Handle to the DocumentInfoDictionary object.
> `hDocumentInfoDictionaryDst` ID3_DOCUMENT_INFO_DICTIONARY
> out The newly created document info dictionary.

Returns

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