Share via


IVsTextMarker.SetBehavior(UInt32) Method

Definition

Sets the behavior of a text marker.

public:
 int SetBehavior(System::UInt32 dwBehavior);
public:
 int SetBehavior(unsigned int dwBehavior);
int SetBehavior(unsigned int dwBehavior);
public int SetBehavior (uint dwBehavior);
abstract member SetBehavior : uint32 -> int
Public Function SetBehavior (dwBehavior As UInteger) As Integer

Parameters

dwBehavior
UInt32

[in] Pointer to a DWORD containing the behavior for the marker type. For a list of pdwBehavior values, see MARKERBEHAVIORFLAGS.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarker::SetBehavior(  
   [in] DWORD dwBehavior  
);  

Applies to