Checks in a new version of a document that is currently in the checked-out state.
null. null. Stream from which the contents of the new version of the document will be read; cannot be null. en for english. Specifying a null language will set the language to that of the current user. True to automatically check in and subsequently check out the document. The document will finish in the checked-out state. //Open an inputstream for the document contents - this can be any readable Stream
Stream fileInputStream = File.OpenRead("c:\\MyNewDocument.doc");
//Check in the new version
documentManager.CheckInDocument(checkedOutDocument, "this is an updated version of the document", fileInputStream, "en", false);
| Exception Type | Condition |
|---|---|
| PermissionDeniedException | The user does not have permission to check-in the document, or the user does not currently have the document checked out. |
| CollaborationException | The method call resulted in an error or the the user does not have access to the document. |
| SoapException | There was a communication problem during the execution of the remote method call. |
| InvalidOperationException | The document is not checked out, has not yet been inserted, or has already been removed. |
IDocumentManager Interface | Plumtree.Remote.PRC.Collaboration.Document Namespace