RunningDocumentTable::FindAndLockDocumentEx Method (_VSRDTFLAGS, String^, IVsHierarchy^, UInt32, IVsHierarchy^, UInt32, UInt32)
Visual Studio 2015
Finds and locks the document.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: Object^ FindAndLockDocumentEx( _VSRDTFLAGS lockType, String^ moniker, IVsHierarchy^ hierPreferred, unsigned int itemidPreferred, [OutAttribute] IVsHierarchy^% hierActual, [OutAttribute] unsigned int% itemidActual, [OutAttribute] unsigned int% docCookie )
Parameters
- lockType
-
Type:
Microsoft.VisualStudio.Shell.Interop::_VSRDTFLAGS
The lock type.
- moniker
-
Type:
System::String^
The document moniker.
- hierPreferred
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
The project hierarchy.
- itemidPreferred
-
Type:
System::UInt32
The item ID.
- hierActual
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
The actual project hierarchy.
- itemidActual
-
Type:
System::UInt32
The actual item ID.
- docCookie
-
Type:
System::UInt32
The document cookie.
Show: