RunningDocumentTable.FindAndLockDocumentEx Method (_VSRDTFLAGS, String, IVsHierarchy, UInt32, IVsHierarchy%, UInt32%, UInt32%)
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
‘선언
Public Function FindAndLockDocumentEx ( _
lockType As _VSRDTFLAGS, _
moniker As String, _
hierPreferred As IVsHierarchy, _
itemidPreferred As UInteger, _
<OutAttribute> ByRef hierActual As IVsHierarchy, _
<OutAttribute> ByRef itemidActual As UInteger, _
<OutAttribute> ByRef docCookie As UInteger _
) As Object
public Object FindAndLockDocumentEx(
_VSRDTFLAGS lockType,
string moniker,
IVsHierarchy hierPreferred,
uint itemidPreferred,
out IVsHierarchy hierActual,
out uint itemidActual,
out uint docCookie
)
Parameters
- lockType
Type: Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS
- moniker
Type: System.String
- hierPreferred
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
- itemidPreferred
Type: System.UInt32
- hierActual
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy%
- itemidActual
Type: System.UInt32%
- docCookie
Type: System.UInt32%
Return Value
Type: System.Object
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.