IVsTextManager.GetMarkerTypeInterface (Método)
Asigna un identificador de tipo numérico de marcador a una interfaz que se puede usar al buscar información específica.
Espacio de nombres: Microsoft.VisualStudio.TextManager.Interop
Ensamblado: Microsoft.VisualStudio.TextManager.Interop (en Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxis
'Declaración
Function GetMarkerTypeInterface ( _
iMarkerTypeID As Integer, _
<OutAttribute> ByRef ppMarkerType As IVsTextMarkerType _
) As Integer
int GetMarkerTypeInterface(
int iMarkerTypeID,
out IVsTextMarkerType ppMarkerType
)
int GetMarkerTypeInterface(
[InAttribute] int iMarkerTypeID,
[OutAttribute] IVsTextMarkerType^% ppMarkerType
)
abstract GetMarkerTypeInterface :
iMarkerTypeID:int *
ppMarkerType:IVsTextMarkerType byref -> int
function GetMarkerTypeInterface(
iMarkerTypeID : int,
ppMarkerType : IVsTextMarkerType
) : int
Parámetros
iMarkerTypeID
Tipo: Int32[in] El identificador de tipo de marcador, por ejemplo de GetType.
ppMarkerType
Tipo: Microsoft.VisualStudio.TextManager.Interop.IVsTextMarkerType%[out] puntero a la interfaz de IVsTextMarkerType , que se ha hecho referencia con AddReferernce.
Valor devuelto
Tipo: Int32
si el método tiene éxito, devuelve S_OK.Si se produce un error, devuelve un código de error.
Comentarios
Prototipo COM
de textmgr.idl:
HRESULT IVsTextManager::GetMarkerTypeInterface(
[in] long iMarkerTypeID,
[out] IVsTextMarkerType **ppMarkerType
);
Utilice esta interfaz para dibujar un glifo de marcador en dispone de la interfaz de usuario.
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)