CreateTextViewHostCallback, délégué
Espace de noms : Microsoft.VisualStudio.Text.Differencing
Assembly : Microsoft.VisualStudio.Text.UI.Wpf (dans Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntaxe
'Déclaration
Public Delegate Sub CreateTextViewHostCallback ( _
textViewModel As IDifferenceTextViewModel, _
roles As ITextViewRoleSet, _
options As IEditorOptions, _
<OutAttribute> ByRef visualElement As FrameworkElement, _
<OutAttribute> ByRef textViewHost As IWpfTextViewHost _
)
public delegate void CreateTextViewHostCallback(
IDifferenceTextViewModel textViewModel,
ITextViewRoleSet roles,
IEditorOptions options,
out FrameworkElement visualElement,
out IWpfTextViewHost textViewHost
)
public delegate void CreateTextViewHostCallback(
IDifferenceTextViewModel^ textViewModel,
ITextViewRoleSet^ roles,
IEditorOptions^ options,
[OutAttribute] FrameworkElement^% visualElement,
[OutAttribute] IWpfTextViewHost^% textViewHost
)
type CreateTextViewHostCallback =
delegate of
textViewModel:IDifferenceTextViewModel *
roles:ITextViewRoleSet *
options:IEditorOptions *
visualElement:FrameworkElement byref *
textViewHost:IWpfTextViewHost byref -> unit
JScript ne prend pas en charge les délégués.
Paramètres
- textViewModel
Type : Microsoft.VisualStudio.Text.Differencing.IDifferenceTextViewModel
- roles
Type : Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet
- options
Type : Microsoft.VisualStudio.Text.Editor.IEditorOptions
- visualElement
Type : FrameworkElement%
- textViewHost
Type : Microsoft.VisualStudio.Text.Editor.IWpfTextViewHost%