次の方法で共有


Documents.Open2002 Method

Reserved for internal use.

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

Syntax

'Declaration
Function Open2002 ( _
    ByRef FileName As Object, _
    ByRef ConfirmConversions As Object, _
    ByRef ReadOnly As Object, _
    ByRef AddToRecentFiles As Object, _
    ByRef PasswordDocument As Object, _
    ByRef PasswordTemplate As Object, _
    ByRef Revert As Object, _
    ByRef WritePasswordDocument As Object, _
    ByRef WritePasswordTemplate As Object, _
    ByRef Format As Object, _
    ByRef Encoding As Object, _
    ByRef Visible As Object, _
    ByRef OpenAndRepair As Object, _
    ByRef DocumentDirection As Object, _
    ByRef NoEncodingDialog As Object _
) As Document
'Usage
Dim instance As Documents
Dim FileName As Object
Dim ConfirmConversions As Object
Dim ReadOnly As Object
Dim AddToRecentFiles As Object
Dim PasswordDocument As Object
Dim PasswordTemplate As Object
Dim Revert As Object
Dim WritePasswordDocument As Object
Dim WritePasswordTemplate As Object
Dim Format As Object
Dim Encoding As Object
Dim Visible As Object
Dim OpenAndRepair As Object
Dim DocumentDirection As Object
Dim NoEncodingDialog As Object
Dim returnValue As Document

returnValue = instance.Open2002(FileName, _
    ConfirmConversions, ReadOnly, AddToRecentFiles, _
    PasswordDocument, PasswordTemplate, _
    Revert, WritePasswordDocument, WritePasswordTemplate, _
    Format, Encoding, Visible, OpenAndRepair, _
    DocumentDirection, NoEncodingDialog)
Document Open2002(
    ref Object FileName,
    ref Object ConfirmConversions,
    ref Object ReadOnly,
    ref Object AddToRecentFiles,
    ref Object PasswordDocument,
    ref Object PasswordTemplate,
    ref Object Revert,
    ref Object WritePasswordDocument,
    ref Object WritePasswordTemplate,
    ref Object Format,
    ref Object Encoding,
    ref Object Visible,
    ref Object OpenAndRepair,
    ref Object DocumentDirection,
    ref Object NoEncodingDialog
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Word.Document

See Also

Reference

Documents Interface

Documents Members

Microsoft.Office.Interop.Word Namespace