IVsExtensibility3.GetDocumentFromDocCookie Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetDocumentFromDocCookie ( _
lDocCookie As Integer, _
<OutAttribute> ByRef ppDoc As Object _
) As Integer
'Usage
Dim instance As IVsExtensibility3
Dim lDocCookie As Integer
Dim ppDoc As Object
Dim returnValue As Integer
returnValue = instance.GetDocumentFromDocCookie(lDocCookie, _
ppDoc)
int GetDocumentFromDocCookie(
int lDocCookie,
out Object ppDoc
)
int GetDocumentFromDocCookie(
[InAttribute] int lDocCookie,
[OutAttribute] Object^% ppDoc
)
abstract GetDocumentFromDocCookie :
lDocCookie:int *
ppDoc:Object byref -> int
function GetDocumentFromDocCookie(
lDocCookie : int,
ppDoc : Object
) : int
Parameters
- lDocCookie
Type: System.Int32
- ppDoc
Type: System.Object%
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.