次の方法で共有


VsTextManagerClass.GetRegisteredMarkerTypeID Method

Returns a registered marker type.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣言
Public Overridable Function GetRegisteredMarkerTypeID ( _
    ByRef pguidMarker As Guid, _
    <OutAttribute> ByRef piMarkerTypeID As Integer _
) As Integer
'使用
Dim instance As VsTextManagerClass
Dim pguidMarker As Guid
Dim piMarkerTypeID As Integer
Dim returnValue As Integer

returnValue = instance.GetRegisteredMarkerTypeID(pguidMarker, _
    piMarkerTypeID)
public virtual int GetRegisteredMarkerTypeID(
    ref Guid pguidMarker,
    out int piMarkerTypeID
)
public:
virtual int GetRegisteredMarkerTypeID(
    [InAttribute] Guid% pguidMarker, 
    [OutAttribute] int% piMarkerTypeID
)
public function GetRegisteredMarkerTypeID(
    pguidMarker : Guid, 
    piMarkerTypeID : int
) : int

Parameters

  • pguidMarker
    Type: System.Guid%

    [in] GUID identifying the caller's implementation of IVsTextMarkerType, which provides information about the new category of markers.

  • piMarkerTypeID
    Type: System.Int32%

    [out] Number of the marker type in the marker type collection.

Return Value

Type: System.Int32

Implements

IVsTextManager.GetRegisteredMarkerTypeID(Guid%, Int32%)

Permissions

See Also

Reference

VsTextManagerClass Class

VsTextManagerClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace