IVsRunningDocTableEvents4.OnBeforeFirstDocumentLock Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function OnBeforeFirstDocumentLock ( _
pHier As IVsHierarchy, _
itemid As UInteger, _
pszMkDocument As String _
) As Integer
int OnBeforeFirstDocumentLock(
IVsHierarchy pHier,
uint itemid,
string pszMkDocument
)
int OnBeforeFirstDocumentLock(
[InAttribute] IVsHierarchy^ pHier,
[InAttribute] unsigned int itemid,
[InAttribute] String^ pszMkDocument
)
abstract OnBeforeFirstDocumentLock :
pHier:IVsHierarchy *
itemid:uint32 *
pszMkDocument:string -> int
function OnBeforeFirstDocumentLock(
pHier : IVsHierarchy,
itemid : uint,
pszMkDocument : String
) : int
Parameters
- itemid
Type: System.UInt32
- pszMkDocument
Type: System.String
Return Value
Type: System.Int32
.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.