Export (0) Print
Expand All

IVsRunningDocumentTable.GetRunningDocumentsEnum Method

Enumerates through all documents in the RDT.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int GetRunningDocumentsEnum (
	out IEnumRunningDocuments ppenum
)
int GetRunningDocumentsEnum (
	/** @attribute OutAttribute() */ /** @ref */ IEnumRunningDocuments ppenum
)
JScript does not support passing value-type arguments by reference.

Parameters

ppenum

[out] Returns an IEnumRunningDocuments interface.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsRunningDocumentTable::GetRunningDocumentsEnum(
   [out] IEnumRunningDocuments **ppenum
);

The values returned from the IEnumRunningDocuments object are document cookies, the same values that are returned from the FindAndLockDocument and RegisterAndLockDocument methods.

Community Additions

ADD
Show:
© 2014 Microsoft