RunningDocumentTable.FindAndLockDocumentEx 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
文档名字对象。
- hierPreferred
- IVsHierarchy
项目层次结构。
- itemidPreferred
- UInt32
项 ID。
- hierActual
- IVsHierarchy
实际项目层次结构。
- itemidActual
- UInt32
实际项 ID。
- 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
文档名字对象。
- hierPreferred
- IVsHierarchy
项目层次结构。
- itemidPreferred
- UInt32
项 ID。
- 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
文档名字对象。
- hierPreferred
- IVsHierarchy
项目层次结构。
- itemidPreferred
- UInt32
项 ID。
返回
锁。