VsTextManagerClass.GetRegisteredMarkerTypeID, méthode
Retourne un type de marqueur enregistré.
Espace de noms : Microsoft.VisualStudio.TextManager.Interop
Assembly : Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)
Syntaxe
'Déclaration
Public Overridable Function GetRegisteredMarkerTypeID ( _
ByRef pguidMarker As Guid, _
<OutAttribute> ByRef piMarkerTypeID As Integer _
) As Integer
public virtual int GetRegisteredMarkerTypeID(
ref Guid pguidMarker,
out int piMarkerTypeID
)
public:
virtual int GetRegisteredMarkerTypeID(
[InAttribute] Guid% pguidMarker,
[OutAttribute] int% piMarkerTypeID
)
abstract GetRegisteredMarkerTypeID :
pguidMarker:Guid byref *
piMarkerTypeID:int byref -> int
override GetRegisteredMarkerTypeID :
pguidMarker:Guid byref *
piMarkerTypeID:int byref -> int
public function GetRegisteredMarkerTypeID(
pguidMarker : Guid,
piMarkerTypeID : int
) : int
Paramètres
pguidMarker
Type : Guid%[in] GUID identifiant l'implémentation de l'appelant d'IVsTextMarkerType, qui fournit des informations sur la nouvelle catégorie de marques.
piMarkerTypeID
Type : Int32%[] numéro du type de marqueur dans la collection de type de marqueur.
Valeur de retour
Type : Int32
Implémentations
IVsTextManager.GetRegisteredMarkerTypeID(Guid%, Int32%)
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.