Udostępnij za pośrednictwem


RunningDocumentTable.FindOrRegisterAndLockDocument Method

Definition

Overloads

FindOrRegisterAndLockDocument(_VSRDTFLAGS, String, IVsHierarchy, UInt32, Object)
FindOrRegisterAndLockDocument(_VSRDTFLAGS, String, IVsHierarchy, UInt32, Object, UInt32)
FindOrRegisterAndLockDocument(_VSRDTFLAGS, String, IVsHierarchy, UInt32, Object, IVsHierarchy, UInt32, UInt32)

FindOrRegisterAndLockDocument(_VSRDTFLAGS, String, IVsHierarchy, UInt32, Object)

public:
 System::Object ^ FindOrRegisterAndLockDocument(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, System::String ^ moniker, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierPreferred, System::UInt32 itemidPreferred, System::Object ^ docDataPreferred);
public:
 Platform::Object ^ FindOrRegisterAndLockDocument(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, Platform::String ^ moniker, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierPreferred, unsigned int itemidPreferred, Platform::Object ^ docDataPreferred);
winrt::Windows::Foundation::IInspectable FindOrRegisterAndLockDocument(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, std::wstring const & moniker, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & hierPreferred, unsigned int itemidPreferred, winrt::Windows::Foundation::IInspectable const & docDataPreferred);
public object FindOrRegisterAndLockDocument (Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS lockType, string moniker, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierPreferred, uint itemidPreferred, object docDataPreferred);
member this.FindOrRegisterAndLockDocument : Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS * string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * obj -> obj
Public Function FindOrRegisterAndLockDocument (lockType As _VSRDTFLAGS, moniker As String, hierPreferred As IVsHierarchy, itemidPreferred As UInteger, docDataPreferred As Object) As Object

Parameters

lockType
_VSRDTFLAGS
moniker
String
hierPreferred
IVsHierarchy
itemidPreferred
UInt32
docDataPreferred
Object

Returns

Applies to

FindOrRegisterAndLockDocument(_VSRDTFLAGS, String, IVsHierarchy, UInt32, Object, UInt32)

public:
 System::Object ^ FindOrRegisterAndLockDocument(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, System::String ^ moniker, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierPreferred, System::UInt32 itemidPreferred, System::Object ^ docDataPreferred, [Runtime::InteropServices::Out] System::UInt32 % docCookie);
public object FindOrRegisterAndLockDocument (Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS lockType, string moniker, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierPreferred, uint itemidPreferred, object docDataPreferred, out uint docCookie);
member this.FindOrRegisterAndLockDocument : Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS * string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * obj * uint32 -> obj
Public Function FindOrRegisterAndLockDocument (lockType As _VSRDTFLAGS, moniker As String, hierPreferred As IVsHierarchy, itemidPreferred As UInteger, docDataPreferred As Object, ByRef docCookie As UInteger) As Object

Parameters

lockType
_VSRDTFLAGS
moniker
String
hierPreferred
IVsHierarchy
itemidPreferred
UInt32
docDataPreferred
Object
docCookie
UInt32

Returns

Applies to

FindOrRegisterAndLockDocument(_VSRDTFLAGS, String, IVsHierarchy, UInt32, Object, IVsHierarchy, UInt32, UInt32)

public:
 System::Object ^ FindOrRegisterAndLockDocument(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, System::String ^ moniker, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierPreferred, System::UInt32 itemidPreferred, System::Object ^ docDataPreferred, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ % hierActual, [Runtime::InteropServices::Out] System::UInt32 % itemidActual, [Runtime::InteropServices::Out] System::UInt32 % docCookie);
public object FindOrRegisterAndLockDocument (Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS lockType, string moniker, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierPreferred, uint itemidPreferred, object docDataPreferred, out Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierActual, out uint itemidActual, out uint docCookie);
member this.FindOrRegisterAndLockDocument : Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS * string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * obj * IVsHierarchy * uint32 * uint32 -> obj
Public Function FindOrRegisterAndLockDocument (lockType As _VSRDTFLAGS, moniker As String, hierPreferred As IVsHierarchy, itemidPreferred As UInteger, docDataPreferred As Object, ByRef hierActual As IVsHierarchy, ByRef itemidActual As UInteger, ByRef docCookie As UInteger) As Object

Parameters

lockType
_VSRDTFLAGS
moniker
String
hierPreferred
IVsHierarchy
itemidPreferred
UInt32
docDataPreferred
Object
hierActual
IVsHierarchy
itemidActual
UInt32
docCookie
UInt32

Returns

Applies to