共用方式為


IVsRunningDocumentTable.GetRunningDocumentsEnum(IEnumRunningDocuments) Method

Definition

Enumerates through all documents in the RDT.

public:
 int GetRunningDocumentsEnum([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumRunningDocuments ^ % ppenum);
public:
 int GetRunningDocumentsEnum([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumRunningDocuments ^ &  ppenum);
int GetRunningDocumentsEnum([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumRunningDocuments const & & ppenum);
public int GetRunningDocumentsEnum (out Microsoft.VisualStudio.Shell.Interop.IEnumRunningDocuments ppenum);
abstract member GetRunningDocumentsEnum : IEnumRunningDocuments -> int
Public Function GetRunningDocumentsEnum (ByRef ppenum As IEnumRunningDocuments) As Integer

Parameters

ppenum
IEnumRunningDocuments

[out] Returns an IEnumRunningDocuments interface.

Returns

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

Remarks

This method is safe to access from any thread.

Applies to