IVsTextView.EnsureSpanVisible, méthode

Garantit que le texte est en mode, verticalement et horizontalement.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
Function EnsureSpanVisible ( _
    span As TextSpan _
) As Integer
int EnsureSpanVisible(
    TextSpan span
)
int EnsureSpanVisible(
    [InAttribute] TextSpan span
)
abstract EnsureSpanVisible : 
        span:TextSpan -> int
function EnsureSpanVisible(
    span : TextSpan
) : int

Paramètres

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textmgr.idl :

HRESULT IVsTextView::EnsureSpanVisible(
   [in] TextSpan span
);

Utilisez cette méthode pour afficher une étendue de texte dans la vue.

Sécurité .NET Framework

Voir aussi

Référence

IVsTextView Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms