RunningDocumentTable::FindDocument Method (String^)

 

Gets an object from the Running Document Table (RDT) that represents the document specified by the given path.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
Object^ FindDocument(
	String^ moniker
)

Parameters

moniker
Type: System::String^

[in] Path to the desired document.

Return Value

Type: System::Object^

An object that can be cast to an appropriate interface to access the document (see Remarks for details), or null if the document is not registered with Visual Studio.

The object returned can typically be cast to the IVsPersistDocData interface or the IVsDocDataFileChangeControl interface.

Return to top
Show: