RunningDocumentTable.FindAndLockDocumentEx Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32, IVsHierarchy, UInt32, UInt32) |
Finds and locks the document. |
FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32, UInt32) |
Finds and locks the document. |
FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32) |
Finds and locks the document. |
FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32, IVsHierarchy, UInt32, UInt32)
Finds and locks the document.
public:
System::Object ^ FindAndLockDocumentEx(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, System::String ^ moniker, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierPreferred, System::UInt32 itemidPreferred, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ % hierActual, [Runtime::InteropServices::Out] System::UInt32 % itemidActual, [Runtime::InteropServices::Out] System::UInt32 % docCookie);
public object FindAndLockDocumentEx (Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS lockType, string moniker, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierPreferred, uint itemidPreferred, out Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierActual, out uint itemidActual, out uint docCookie);
member this.FindAndLockDocumentEx : Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS * string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * IVsHierarchy * uint32 * uint32 -> obj
Public Function FindAndLockDocumentEx (lockType As _VSRDTFLAGS, moniker As String, hierPreferred As IVsHierarchy, itemidPreferred As UInteger, ByRef hierActual As IVsHierarchy, ByRef itemidActual As UInteger, ByRef docCookie As UInteger) As Object
Parameters
- lockType
- _VSRDTFLAGS
The lock type.
- moniker
- String
The document moniker.
- hierPreferred
- IVsHierarchy
The project hierarchy.
- itemidPreferred
- UInt32
The item ID.
- hierActual
- IVsHierarchy
The actual project hierarchy.
- itemidActual
- UInt32
The actual item ID.
- docCookie
- UInt32
The document cookie.
Returns
The lock.
Applies to
FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32, UInt32)
Finds and locks the document.
public:
System::Object ^ FindAndLockDocumentEx(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, System::String ^ moniker, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierPreferred, System::UInt32 itemidPreferred, [Runtime::InteropServices::Out] System::UInt32 % docCookie);
public object FindAndLockDocumentEx (Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS lockType, string moniker, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierPreferred, uint itemidPreferred, out uint docCookie);
member this.FindAndLockDocumentEx : Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS * string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * uint32 -> obj
Public Function FindAndLockDocumentEx (lockType As _VSRDTFLAGS, moniker As String, hierPreferred As IVsHierarchy, itemidPreferred As UInteger, ByRef docCookie As UInteger) As Object
Parameters
- lockType
- _VSRDTFLAGS
The lock type.
- moniker
- String
The document moniker.
- hierPreferred
- IVsHierarchy
The project hierarchy.
- itemidPreferred
- UInt32
The item ID.
- docCookie
- UInt32
The document cookie.
Returns
The lock.
Applies to
FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32)
Finds and locks the document.
public:
System::Object ^ FindAndLockDocumentEx(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, System::String ^ moniker, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierPreferred, System::UInt32 itemidPreferred);
public:
Platform::Object ^ FindAndLockDocumentEx(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, Platform::String ^ moniker, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierPreferred, unsigned int itemidPreferred);
winrt::Windows::Foundation::IInspectable FindAndLockDocumentEx(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, std::wstring const & moniker, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & hierPreferred, unsigned int itemidPreferred);
public object FindAndLockDocumentEx (Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS lockType, string moniker, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierPreferred, uint itemidPreferred);
member this.FindAndLockDocumentEx : Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS * string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 -> obj
Public Function FindAndLockDocumentEx (lockType As _VSRDTFLAGS, moniker As String, hierPreferred As IVsHierarchy, itemidPreferred As UInteger) As Object
Parameters
- lockType
- _VSRDTFLAGS
The lock type.
- moniker
- String
The document moniker.
- hierPreferred
- IVsHierarchy
The project hierarchy.
- itemidPreferred
- UInt32
The item ID.
Returns
The lock.