共用方式為


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

'宣告
Function GetDocumentFromDocCookie ( _
    lDocCookie As Integer, _
    <OutAttribute> ByRef ppDoc As Object _
) As Integer
'用途
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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsExtensibility3 Interface

IVsExtensibility3 Members

Microsoft.VisualStudio.Shell.Interop Namespace