Share via


RunningDocumentTable.FindOrRegisterAndLockDocument Method (_VSRDTFLAGS, String, IVsHierarchy, UInt32, Object)

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Function FindOrRegisterAndLockDocument ( _
    lockType As _VSRDTFLAGS, _
    moniker As String, _
    hierPreferred As IVsHierarchy, _
    itemidPreferred As UInteger, _
    docDataPreferred As Object _
) As Object
public Object FindOrRegisterAndLockDocument(
    _VSRDTFLAGS lockType,
    string moniker,
    IVsHierarchy hierPreferred,
    uint itemidPreferred,
    Object docDataPreferred
)
public:
Object^ FindOrRegisterAndLockDocument(
    _VSRDTFLAGS lockType, 
    String^ moniker, 
    IVsHierarchy^ hierPreferred, 
    unsigned int itemidPreferred, 
    Object^ docDataPreferred
)
member FindOrRegisterAndLockDocument : 
        lockType:_VSRDTFLAGS * 
        moniker:string * 
        hierPreferred:IVsHierarchy * 
        itemidPreferred:uint32 * 
        docDataPreferred:Object -> Object
public function FindOrRegisterAndLockDocument(
    lockType : _VSRDTFLAGS, 
    moniker : String, 
    hierPreferred : IVsHierarchy, 
    itemidPreferred : uint, 
    docDataPreferred : Object
) : Object

Parameters

  • moniker
    Type: String
  • itemidPreferred
    Type: UInt32
  • docDataPreferred
    Type: Object

Return Value

Type: Object

.NET Framework Security

See Also

Reference

RunningDocumentTable Class

FindOrRegisterAndLockDocument Overload

Microsoft.VisualStudio.Shell Namespace