RunningDocumentTable::GetHierarchyItem Method (String^)
Visual Studio 2015
Gets the project that owns the specified document.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- moniker
-
Type:
System::String^
[in] Path to the desired document.
If this method returns null, then no project owns the specified document. Note that this method does not return the item ID of the document within the project, just the IVsHierarchy object that represents the project. To obtain the item ID of the document, call either the FindDocument method or the ParseCanonicalName method.
Show: