Udostępnij za pośrednictwem


IVsShortcutManager.RemoveItem(IVsTextLineMarker) Method

Definition

Removes the specified item.

public:
 int RemoveItem(Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker ^ pMarker);
public:
 int RemoveItem(Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker ^ pMarker);
int RemoveItem(Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker const & pMarker);
public int RemoveItem (Microsoft.VisualStudio.TextManager.Interop.IVsTextLineMarker pMarker);
abstract member RemoveItem : Microsoft.VisualStudio.TextManager.Interop.IVsTextLineMarker -> int
Public Function RemoveItem (pMarker As IVsTextLineMarker) As Integer

Parameters

pMarker
IVsTextLineMarker

[in] The specified item’s line marker.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsShortcutManager::RemoveItem(  
   [in]IVsTextLineMarker *pMarker  
);  

Applies to