Documents Documents Documents Interface

Definición

Colección de todos los Document objetos que están actualmente abiertos en Word.A collection of all the Document objects that are currently open in Word.

public interface class Documents : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002096C-0000-0000-C000-000000000046")]
public interface Documents : System.Collections.IEnumerable
Public Interface Documents
Implements IEnumerable
Atributos
Implementaciones

Comentarios

Utilice la Documents propiedad para devolver la colección Documents.Use the Documents property to return the Documents collection.

Utilice el Add(Object, Object, Object, Object) método para crear un nuevo documento vacío y agregarlo a la colección Documents.Use the Add(Object, Object, Object, Object) method to create a new empty document and add it to the Documents collection.

Utilice el método Open para abrir un archivo.Use the Open method to open a file.

Use Documentsindex(), index donde es el nombre del documento o el número de índice, para devolver un único objeto Document .Use Documents(index), where index is the document name or index number to return a single Document object.

El número de índice representa la posición del documento en la colección Documents.The index number represents the position of the document in the Documents collection.

Propiedades

Application Application Application

Devuelve un Application objeto que representa la aplicación Microsoft Word.Returns a Application object that represents the Microsoft Word application

Count Count Count

Devuelve el número de elementos de la colección especificada.Returns the number of items in the specified collection.

Creator Creator Creator

Devuelve un entero de 32 bits que indica la aplicación en la que se creó el objeto especificado.Returns a 32-bit integer that indicates the application in which the specified object was created.

Item[Object] Item[Object] Item[Object]

Devuelve un objeto individual de una colección.Returns an individual object in a collection.

Parent Parent Parent

Devuelve un objeto que representa el objeto primario del objeto especificado.Returns an object that represents the parent object of the specified object.

Métodos

Add(Object, Object, Object, Object) Add(Object, Object, Object, Object) Add(Object, Object, Object, Object)

Devuelve un Document objeto Object que representa un documento nuevo y vacío agregado a la colección de documentos abiertos.Returns a Document object that represents a new, empty document added to the collection of open documents.

AddBlogDocument(String, String, String, String) AddBlogDocument(String, String, String, String) AddBlogDocument(String, String, String, String)

Devuelve un objeto que representa un nuevo documento de blog que publica Microsoft Office Word en la cuenta descrita por los tres primeros parámetros.Returns a object that represents a new blog document that Microsoft Office Word publishes to the account described by the first three parameters.

AddOld(Object, Object) AddOld(Object, Object) AddOld(Object, Object)

Reservado para uso interno.Reserved for internal use.

CanCheckOut(String) CanCheckOut(String) CanCheckOut(String)

Determina si Microsoft Word puede desproteger un documento especificado de un servidor.Determines if Microsoft Word can check out a specified document from a server. Boolean de lectura y escritura.Read/write Boolean.

CheckOut(String) CheckOut(String) CheckOut(String)

Copia un documento específico desde un servidor a un equipo local para modificarlo.Copies a specified document from a server to a local computer for editing.

Close(Object, Object, Object) Close(Object, Object, Object) Close(Object, Object, Object)

Cierra el documento o documentos especificados.Closes the specified document or documents.

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

Abre el documento especificado y lo agrega a la Documents colección.Opens the specified document and adds it to the Documents collection.

Open2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Open2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Open2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Reservado para uso interno. Reserved for internal use.

Open2002(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Open2002(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Open2002(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Reservado para uso interno.Reserved for internal use.

OpenNoRepairDialog(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) OpenNoRepairDialog(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) OpenNoRepairDialog(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Abre el documento especificado y lo agrega a la Documents colección.Opens the specified document and adds it to the Documents collection.

OpenOld(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) OpenOld(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) OpenOld(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Reservado para uso interno.Reserved for internal use.

Save(Object, Object) Save(Object, Object) Save(Object, Object)

Guarda todos los documentos de la Documents colección.Saves all the documents in the Documents collection.

Se aplica a