다음을 통해 공유


IVsTextMarker.GetBehavior(UInt32) Method

Definition

Returns a text marker behavior set by the SetBehavior(UInt32) method.

public:
 int GetBehavior([Runtime::InteropServices::Out] System::UInt32 % pdwBehavior);
int GetBehavior([Runtime::InteropServices::Out] unsigned int & pdwBehavior);
public int GetBehavior (out uint pdwBehavior);
abstract member GetBehavior : uint32 -> int
Public Function GetBehavior (ByRef pdwBehavior As UInteger) As Integer

Parameters

pdwBehavior
UInt32

[out] 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::GetBehavior(  
   [out] DWORD *pdwBehavior  
);  

Applies to