Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IDocument.Save Method 

Saves any changes made to this object in the portal.

int Save();

Return Value

the ID of the document created; this value is useful since the document is always newly created in the portal

Remarks

The subinterface IRemoteDocument will throw an System.InvalidOperationException if setType() is not called.

Exceptions

Exception Type Condition
HttpException if the query interface URL is not valid
InvalidOperationException if setType() is not called in the IRemoteDocument subinterface
PortalException if an operation resulted in an error in the portal

See Also

IDocument Interface | Plumtree.Remote.PRC Namespace