共用方式為


IVsTextMarkerType.GetBehaviorFlags 方法

傳回標記行為旗標,它會定義預設的標記行為。

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

語法

'宣告
Function GetBehaviorFlags ( _
    <OutAttribute> ByRef pdwFlags As UInteger _
) As Integer
int GetBehaviorFlags(
    out uint pdwFlags
)
int GetBehaviorFlags(
    [OutAttribute] unsigned int% pdwFlags
)
abstract GetBehaviorFlags : 
        pdwFlags:uint32 byref -> int
function GetBehaviorFlags(
    pdwFlags : uint
) : int

參數

  • pdwFlags
    類型:UInt32%

    [] out指標 DWORD 包含標記類型的行為。 為一系列pdwFlags的值,請參閱MARKERBEHAVIORFLAGS

傳回值

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

備註

COM 簽章

從 textmgr.idl:

HRESULT IVsTextMarkerType::GetBehaviorFlags(
   [out] DWORD *pdwFlags
);

現在,支援只有資料流和行跨距的選項。

.NET Framework 安全性

請參閱

參考

IVsTextMarkerType 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間