OpenDocuments.CheckoutDocumentPrompt Method
Applies to: SharePoint Foundation 2010
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.