RunningDocumentTable.FindAndLockDocumentEx Metode

Definisi

Overload

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

Menemukan dan mengunci dokumen.

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

Parameter

lockType
_VSRDTFLAGS

Jenis kunci.

moniker
String

Moniker dokumen.

hierPreferred
IVsHierarchy

Hierarki proyek.

itemidPreferred
UInt32

ID item.

hierActual
IVsHierarchy

Hierarki proyek yang sebenarnya.

itemidActual
UInt32

ID item aktual.

docCookie
UInt32

Cookie dokumen.

Mengembalikan

Kuncinya.

Berlaku untuk

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

Menemukan dan mengunci dokumen.

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

Parameter

lockType
_VSRDTFLAGS

Jenis kunci.

moniker
String

Moniker dokumen.

hierPreferred
IVsHierarchy

Hierarki proyek.

itemidPreferred
UInt32

ID item.

docCookie
UInt32

Cookie dokumen.

Mengembalikan

Kuncinya.

Berlaku untuk

FindAndLockDocumentEx(_VSRDTFLAGS, String, IVsHierarchy, UInt32)

Menemukan dan mengunci dokumen.

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

Parameter

lockType
_VSRDTFLAGS

Jenis kunci.

moniker
String

Moniker dokumen.

hierPreferred
IVsHierarchy

Hierarki proyek.

itemidPreferred
UInt32

ID item.

Mengembalikan

Kuncinya.

Berlaku untuk