다음을 통해 공유


ProtectedViewWindows.Open Method

Open and return a ProtectedViewWindow object from the ProtectedViewWindows collection.

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

Syntax

'Declaration
Function Open ( _
    FileName As String, _
    ReadPassword As String, _
    OpenAndRepair As MsoTriState _
) As ProtectedViewWindow
'Usage
Dim instance As ProtectedViewWindows
Dim FileName As String
Dim ReadPassword As String
Dim OpenAndRepair As MsoTriState
Dim returnValue As ProtectedViewWindow

returnValue = instance.Open(FileName, _
    ReadPassword, OpenAndRepair)
ProtectedViewWindow Open(
    string FileName,
    string ReadPassword,
    MsoTriState OpenAndRepair
)

Parameters

  • ReadPassword
    Type: System.String
    The password to use for the protected file.

Return Value

Type: Microsoft.Office.Interop.PowerPoint.ProtectedViewWindow

See Also

Reference

ProtectedViewWindows Interface

ProtectedViewWindows Members

Microsoft.Office.Interop.PowerPoint Namespace