Share via


RunningDocumentTable.FindAndLockDocumentEx 方法

定義

多載

FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32, IVsHierarchy, UInt32, UInt32)

尋找並鎖定檔。

FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32, UInt32)

尋找並鎖定檔。

FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32)

尋找並鎖定檔。

FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32, IVsHierarchy, UInt32, UInt32)

尋找並鎖定檔。

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

參數

lockType
_VSRDTFLAGS

鎖定類型。

moniker
String

檔Moniker。

hierPreferred
IVsHierarchy

項目階層。

itemidPreferred
UInt32

項目標識碼。

hierActual
IVsHierarchy

實際項目階層。

itemidActual
UInt32

實際項目標識碼。

docCookie
UInt32

檔 Cookie。

傳回

鎖定。

適用於

FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32, UInt32)

尋找並鎖定檔。

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

參數

lockType
_VSRDTFLAGS

鎖定類型。

moniker
String

檔Moniker。

hierPreferred
IVsHierarchy

項目階層。

itemidPreferred
UInt32

項目標識碼。

docCookie
UInt32

檔 Cookie。

傳回

鎖定。

適用於

FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32)

尋找並鎖定檔。

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

參數

lockType
_VSRDTFLAGS

鎖定類型。

moniker
String

檔Moniker。

hierPreferred
IVsHierarchy

項目階層。

itemidPreferred
UInt32

項目標識碼。

傳回

鎖定。

適用於