IBraceCompletionManagerFactory.TryGetBraceCompletionManager(ITextView) 方法

定义

返回一个 IBraceCompletionManager ,它管理特定的大括号完成 ITextView

public:
 Microsoft::VisualStudio::Text::BraceCompletion::IBraceCompletionManager ^ TryGetBraceCompletionManager(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public Microsoft.VisualStudio.Text.BraceCompletion.IBraceCompletionManager TryGetBraceCompletionManager (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member TryGetBraceCompletionManager : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Text.BraceCompletion.IBraceCompletionManager
Public Function TryGetBraceCompletionManager (textView As ITextView) As IBraceCompletionManager

参数

textView
ITextView

要为其获取的文本视图 IBraceCompletionManager

返回

IBraceCompletionManager

IBraceCompletionManager ITextView 如果没有为文本视图启用大括号完成,则为特定或 null 管理大括号完成。

适用于