共用方式為


IVsTextLines.ReleaseLineData Method

Releases the LINEDATA structure.

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

Syntax

'宣告
Function ReleaseLineData ( _
    pLineData As LINEDATA() _
) As Integer
'用途
Dim instance As IVsTextLines
Dim pLineData As LINEDATA()
Dim returnValue As Integer

returnValue = instance.ReleaseLineData(pLineData)
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

IVsTextLines Members

Microsoft.VisualStudio.TextManager.Interop Namespace