共用方式為


IVsTextImage.ReleaseLine Method

Releases the LINEDATAEX structure.

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

Syntax

'宣告
Function ReleaseLine ( _
    pLineData As LINEDATAEX() _
) As Integer
'用途
Dim instance As IVsTextImage
Dim pLineData As LINEDATAEX()
Dim returnValue As Integer

returnValue = instance.ReleaseLine(pLineData)
int ReleaseLine(
    LINEDATAEX[] pLineData
)
int ReleaseLine(
    [InAttribute] array<LINEDATAEX>^ pLineData
)
abstract ReleaseLine : 
        pLineData:LINEDATAEX[] -> int 
function ReleaseLine(
    pLineData : LINEDATAEX[]
) : int

Parameters

Return Value

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

Remarks

Releases the pointer to the internal data returned in the GetLine method.

COM Signature

From textmgr.idl:

HRESULT IVsTextImage::ReleaseLine(
   [in] LINEDATAEX * pLineData
);

.NET Framework Security

See Also

Reference

IVsTextImage Interface

IVsTextImage Members

Microsoft.VisualStudio.TextManager.Interop Namespace