VsTextPackageClass.GetMarkerTypeInterface(Int32, IVsTextMarkerType) Method

Definition

Maps a numeric marker type ID to an interface that can be used to probe for specific information.

public:
 virtual int GetMarkerTypeInterface(int iMarkerTypeID, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextMarkerType ^ % ppMarkerType) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::GetMarkerTypeInterface;
public:
 virtual int GetMarkerTypeInterface(int iMarkerTypeID, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextMarkerType ^ % ppMarkerType);
public:
 virtual int GetMarkerTypeInterface(int iMarkerTypeID, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextMarkerType ^ &  ppMarkerType) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::GetMarkerTypeInterface;
 virtual int GetMarkerTypeInterface(int iMarkerTypeID, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextMarkerType const & & ppMarkerType);
public virtual int GetMarkerTypeInterface (int iMarkerTypeID, out Microsoft.VisualStudio.TextManager.Interop.IVsTextMarkerType ppMarkerType);
abstract member GetMarkerTypeInterface : int * IVsTextMarkerType -> int
override this.GetMarkerTypeInterface : int * IVsTextMarkerType -> int
Public Overridable Function GetMarkerTypeInterface (iMarkerTypeID As Integer, ByRef ppMarkerType As IVsTextMarkerType) As Integer

Parameters

iMarkerTypeID
Int32

[in] The marker type ID, such as from GetType(Int32).

ppMarkerType
IVsTextMarkerType

[out] Pointer to the IVsTextMarkerType interface, which has been referenced with AddReference.

Returns

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

Implements

Applies to