IScrollMapFactoryService.Create, méthode (ITextView, Boolean)
Crée ou réutilise un mappage défilant existant pour l'élément ITextView spécifié.
Espace de noms : Microsoft.VisualStudio.Text.Editor
Assembly : Microsoft.VisualStudio.Text.UI (dans Microsoft.VisualStudio.Text.UI.dll)
Syntaxe
'Déclaration
Function Create ( _
textView As ITextView, _
areElisionsExpanded As Boolean _
) As IScrollMap
IScrollMap Create(
ITextView textView,
bool areElisionsExpanded
)
IScrollMap^ Create(
ITextView^ textView,
bool areElisionsExpanded
)
abstract Create :
textView:ITextView *
areElisionsExpanded:bool -> IScrollMap
function Create(
textView : ITextView,
areElisionsExpanded : boolean
) : IScrollMap
Paramètres
textView
Type : Microsoft.VisualStudio.Text.Editor.ITextViewÉlément ITextView nécessitant l'obtention d'un objet IScrollMap.
areElisionsExpanded
Type : Booleantrue si le système de coordonnées utilisé par cet acte de plan défilant comme si tous les élisions sont développées, sinon false.
Valeur de retour
Type : Microsoft.VisualStudio.Text.Editor.IScrollMap
Élément IScrollMap correspondant à l'objet textView.
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.