Partager via


IVsTextEditorPropertyContainer.RemoveProperty(VSEDITPROPID) Method

Definition

Removes a property for a text editor.

public:
 int RemoveProperty(Microsoft::VisualStudio::TextManager::Interop::VSEDITPROPID idProp);
public:
 int RemoveProperty(Microsoft::VisualStudio::TextManager::Interop::VSEDITPROPID idProp);
int RemoveProperty(Microsoft::VisualStudio::TextManager::Interop::VSEDITPROPID idProp);
public int RemoveProperty (Microsoft.VisualStudio.TextManager.Interop.VSEDITPROPID idProp);
abstract member RemoveProperty : Microsoft.VisualStudio.TextManager.Interop.VSEDITPROPID -> int
Public Function RemoveProperty (idProp As VSEDITPROPID) As Integer

Parameters

idProp
VSEDITPROPID

[in] Property to remove.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextEditorPropertyContainer::RemoveProperty(  
   [in] VSEDITPROPID idProp  
);  

Applies to