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
- pLineData
Type: array<Microsoft.VisualStudio.TextManager.Interop.LINEDATA[]
[in] Pointer to the LINEDATA structure to be released.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.