VsTextManagerClass::GetRegisteredMarkerTypeID Method (Guid, Int32)

 

Returns a registered marker type.

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

public:
virtual int GetRegisteredMarkerTypeID(
	[InAttribute] Guid% pguidMarker,
	[OutAttribute] int% piMarkerTypeID
)

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

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: