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
- pLineData
Type: array<Microsoft.VisualStudio.TextManager.Interop.LINEDATAEX[]
[in] Pointer to the LINEDATAEX 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
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
- 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.