IBraceCompletionManagerFactory.TryGetBraceCompletionManager(ITextView) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个 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 ITextView 如果没有为文本视图启用大括号完成,则为特定或 null 管理大括号完成。