共用方式為


IVsTextLineMarker.GetType 方法

傳回文字的標記類型。

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

語法

'宣告
Function GetType ( _
    <OutAttribute> ByRef piMarkerType As Integer _
) As Integer
int GetType(
    out int piMarkerType
)
int GetType(
    [OutAttribute] int% piMarkerType
)
abstract GetType : 
        piMarkerType:int byref -> int
function GetType(
    piMarkerType : int
) : int

參數

  • piMarkerType
    類型:Int32%

    [] outThe MARKERTYPE.

傳回值

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

備註

COM 簽章

從 textmgr.idl:

HRESULT IVsTextLineMarker::GetType(
   [out] long *piMarkerType
);

.NET Framework 安全性

請參閱

參考

IVsTextLineMarker 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間