共用方式為


IVsTextLines.ReleaseLineData(LINEDATA[]) Method

Definition

Releases the LINEDATA structure.

public:
 int ReleaseLineData(cli::array <Microsoft::VisualStudio::TextManager::Interop::LINEDATA> ^ pLineData);
int ReleaseLineData(std::Array <Microsoft::VisualStudio::TextManager::Interop::LINEDATA> const & pLineData);
public int ReleaseLineData (Microsoft.VisualStudio.TextManager.Interop.LINEDATA[] pLineData);
abstract member ReleaseLineData : Microsoft.VisualStudio.TextManager.Interop.LINEDATA[] -> int
Public Function ReleaseLineData (pLineData As LINEDATA()) As Integer

Parameters

pLineData
LINEDATA[]

[in] Pointer to the LINEDATA structure to be released.

Returns

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.

Applies to