Documents.CanCheckOut Method

Determines if Microsoft Word can check out a specified document from a server. Read/write Boolean.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function CanCheckOut ( _
    FileName As String _
) As Boolean
'Usage
Dim instance As Documents
Dim FileName As String
Dim returnValue As Boolean

returnValue = instance.CanCheckOut(FileName)
bool CanCheckOut(
    string FileName
)

Parameters

  • FileName
    Type: System.String
    Required String. The server path and name of the document.

Return Value

Type: System.Boolean

Remarks

This method returns True if Microsoft Word can check out a specified document from a server, and False if not.

To take advantage of the collaboration features built into Word, documents must be stored on a Microsoft SharePoint Portal Server.

See Also

Reference

Documents Interface

Documents Members

Microsoft.Office.Interop.Word Namespace