Partager via


IVsTextLines.ReleaseLineData Method

Releases the LINEDATA structure.

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

Syntax

'Declaration
Function ReleaseLineData ( _
    pLineData As LINEDATA() _
) As Integer
int ReleaseLineData(
    LINEDATA[] pLineData
)
int ReleaseLineData(
    [InAttribute] array<LINEDATA>^ pLineData
)
abstract ReleaseLineData : 
        pLineData:LINEDATA[] -> int
function ReleaseLineData(
    pLineData : LINEDATA[]
) : int

Parameters

Return Value

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLines::ReleaseLineData(
   [in] LINEDATA *pLineData
);

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

.NET Framework Security

See Also

Reference

IVsTextLines Interface

Microsoft.VisualStudio.TextManager.Interop Namespace