編輯

共用方式為


ProtectedViewWindows Interface

Definition

A collection of all the ProtectedViewWindow objects that are currently open in Word 2010.

public interface class ProtectedViewWindows : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("FD0A74E8-C719-49F6-BA1B-F6D9839D1AB9")]
public interface ProtectedViewWindows : System.Collections.IEnumerable
type ProtectedViewWindows = interface
    interface IEnumerable
Public Interface ProtectedViewWindows
Implements IEnumerable
Attributes
Implements

Remarks

Documents displayed in a protected view window cannot be edited and are restricted from running active content such as macros and data connections.

Use ProtectedViewWindows(Index), where Index is the index number to return a single ProtectedViewWindow object.

Properties

Application

Gets an Application object that represents the Microsoft Word application.

Count

Gets the number of protected view windows in the collection.

Creator

Gets a 32-bit integer that indicates the application in which the specified object was created.

Item[Object]

Returns an individual ProtectedViewWindows object in a collection.

Parent

Gets an Object that represents the parent object of the specified ProtectedViewWindows object.

Methods

GetEnumerator()
Open(Object, Object, Object, Object, Object)

Opens the specified document in a new protected view window.

Applies to