共用方式為


IVsTextLayerMarker.SetBehavior 方法

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

'宣告
Function SetBehavior ( _
    dwBehavior As UInteger _
) As Integer
int SetBehavior(
    uint dwBehavior
)
int SetBehavior(
    [InAttribute] unsigned int dwBehavior
)
abstract SetBehavior : 
        dwBehavior:uint32 -> int
function SetBehavior(
    dwBehavior : uint
) : int

參數

  • dwBehavior
    類型:UInt32

    [in]

傳回值

類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。

備註

COM 簽章

從 textmgr.idl:

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

.NET Framework 安全性

請參閱

參考

IVsTextLayerMarker 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間