IVsRunningDocumentTable::GetRunningDocumentsEnum Method (IEnumRunningDocuments^)

 

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(
	[OutAttribute] IEnumRunningDocuments^% ppenum
)

Return Value

Type: System::Int32

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

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.

Return to top
Show: