VsTextManagerClass.GetMarkerTypeInterface 方法

映射一个数字标记类型 ID 设置为可用于探测特定的信息的接口。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
Public Overridable Function GetMarkerTypeInterface ( _
    iMarkerTypeID As Integer, _
    <OutAttribute> ByRef ppMarkerType As IVsTextMarkerType _
) As Integer
public virtual int GetMarkerTypeInterface(
    int iMarkerTypeID,
    out IVsTextMarkerType ppMarkerType
)
public:
virtual int GetMarkerTypeInterface(
    [InAttribute] int iMarkerTypeID, 
    [OutAttribute] IVsTextMarkerType^% ppMarkerType
)
abstract GetMarkerTypeInterface : 
        iMarkerTypeID:int * 
        ppMarkerType:IVsTextMarkerType byref -> int  
override GetMarkerTypeInterface : 
        iMarkerTypeID:int * 
        ppMarkerType:IVsTextMarkerType byref -> int
public function GetMarkerTypeInterface(
    iMarkerTypeID : int, 
    ppMarkerType : IVsTextMarkerType
) : int

参数

  • iMarkerTypeID
    类型:Int32

    [in] 标记类型的 ID,如从 GetType

返回值

类型:Int32

实现

IVsTextManager.GetMarkerTypeInterface(Int32, IVsTextMarkerType%)

.NET Framework 安全性

请参阅

参考

VsTextManagerClass 类

Microsoft.VisualStudio.TextManager.Interop 命名空间