Método IVsTextManager.GetMarkerTypeInterface
Mapeia uma identificação de tipo numérico de marcador para uma interface que pode ser usada para teste para obter informações específicas.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxe
'Declaração
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] A identificação de tipo de marcador, como from GetType.
ppMarkerType
Tipo: Microsoft.VisualStudio.TextManager.Interop.IVsTextMarkerType%[out] Ponteiro para o IVsTextMarkerType interface, que foi referenciado com AddReferernce.
Valor de retorno
Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.
Comentários
COM assinatura
De textmgr.idl:
HRESULT IVsTextManager::GetMarkerTypeInterface(
[in] long iMarkerTypeID,
[out] IVsTextMarkerType **ppMarkerType
);
Use esta interface para desenhar um glifo de marcador em sua própria interface do usuário.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.