다음을 통해 공유


IVsMethodTipWindow.GetContextStream Method

Returns the context stream.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

‘선언
Function GetContextStream ( _
    <OutAttribute> ByRef piPos As Integer, _
    <OutAttribute> ByRef piLength As Integer _
) As Integer
‘사용 방법
Dim instance As IVsMethodTipWindow
Dim piPos As Integer
Dim piLength As Integer
Dim returnValue As Integer

returnValue = instance.GetContextStream(piPos, _
    piLength)
int GetContextStream(
    out int piPos,
    out int piLength
)
int GetContextStream(
    [OutAttribute] int% piPos, 
    [OutAttribute] int% piLength
)
abstract GetContextStream : 
        piPos:int byref * 
        piLength:int byref -> int 
function GetContextStream(
    piPos : int, 
    piLength : int
) : int

Parameters

  • piPos
    Type: System.Int32%
    [out] Starting position of the context stream.
  • piLength
    Type: System.Int32%
    [out] Length of the context stream from the starting position, piPos.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTipWindow.GetContextStream(Int32%, Int32%)

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsMethodTipWindow::GetContextStream(
   [out] long *piPos, 
   [out] long *piLength
);

.NET Framework Security

See Also

Reference

IVsMethodTipWindow Interface

IVsMethodTipWindow Members

Microsoft.VisualStudio.TextManager.Interop Namespace