VirtualPoint.TryToShow(vsPaneShowHow, Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Tente d'afficher l'emplacement du point de texte.
bool TryToShow(EnvDTE::vsPaneShowHow How = EnvDTE.vsPaneShowHow.vsPaneShowCentered, winrt::Windows::Foundation::IInspectable const & PointOrCount);
[System.Runtime.InteropServices.DispId(50)]
public bool TryToShow (EnvDTE.vsPaneShowHow How = EnvDTE.vsPaneShowHow.vsPaneShowCentered, object PointOrCount);
[<System.Runtime.InteropServices.DispId(50)>]
abstract member TryToShow : EnvDTE.vsPaneShowHow * obj -> bool
Public Function TryToShow (Optional How As vsPaneShowHow = EnvDTE.vsPaneShowHow.vsPaneShowCentered, Optional PointOrCount As Object) As Boolean
Paramètres
- How
- vsPaneShowHow
Optionnel. Constante vsPaneShowHow qui détermine la façon dont le code est affiché.
- PointOrCount
- Object
Facultatif. Point de terminaison de la plage de texte sélectionnée à afficher. Il peut s'agir d'un objet TextPoint ou d'un entier.
Retours
Valeur booléenne indiquant true si l'étendue de texte est adaptée à l'éditeur de code actuel, dans le cas contraire false.
Implémente
- Attributs
Remarques
TryToShow ajuste l’emplacement de la mémoire tampon en mode code afin que la plage de texte indiquée s’affiche dans l’éditeur de code, si possible. TryToShow est semblable à la TextPane méthode de l’objet Activate , sauf qu’elle tente d’afficher la fenêtre et la plage de texte spécifiée.