OpenDocuments.CheckoutDocumentPrompt Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Checks out a document from a library.

expression.CheckoutDocumentPrompt(bstrDocumentLocationRaw As String, fEditAfterCheckout As Boolean, varProgID)

Parameters

expression

An expression that returns an OpenDocuments Control object.

bstrDocumentLocationRaw

A string that contains the URL of the document to check out.

fEditAfterCheckout

true to open the document in an editing application; otherwise, false.

varProgID

An optional string that contains the ProgID of the application that is used to work with the document. If this argument is omitted, the default application for the document is used.

Return Value

true if the document is successfully checked out; otherwise, false.