共用方式為


IVsTextLines.ReleaseMarkerData(MARKERDATA[]) Method

Definition

Cleans up the MARKERDATA structure.

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

Parameters

pMarkerData
MARKERDATA[]

[in] The MARKERDATA 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::ReleaseMarkerData(  
   [in] MARKERDATA *pMarkerData  
);  

Use this method to clean up the MARKERDATA structure before you use the structure again.

Applies to