replaceWithDocument()

Description

Replaces the data at the specified index of the buffer with the specified DcsDocument.

Syntax

func replaceWithDocument(document:DcsDocument, index:Int)

Parameters

document:DcsDocument The document to be added to the buffer.
index:Int The specified index of the document to be added.

Return value

void

Exceptions

Circumstance Exception thrown
document is nil. DcsValueNotValidException
document is not DcsDocument. DcsTypeNotValidException
Index is not a positive value smaller than count. DcsValueOutOfRangeException
Is this page helpful?

Leave a Reply

Your email address will not be published.