ICompletionPresenter.Open 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| Open(CompletionPresentationViewModel) |
打开 UI 并显示提供的数据 |
| Open(IAsyncCompletionSession, CompletionPresentationViewModel) |
Open(CompletionPresentationViewModel)
打开 UI 并显示提供的数据
public:
void Open(Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionPresentationViewModel ^ presentation);
public void Open (Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionPresentationViewModel presentation);
abstract member Open : Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionPresentationViewModel -> unit
Public Sub Open (presentation As CompletionPresentationViewModel)
参数
- presentation
- CompletionPresentationViewModel
要在 UI 中显示的数据
适用于
Open(IAsyncCompletionSession, CompletionPresentationViewModel)
public:
void Open(Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::IAsyncCompletionSession ^ session, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionPresentationViewModel ^ presentation);
public void Open (Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.IAsyncCompletionSession session, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionPresentationViewModel presentation);
abstract member Open : Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.IAsyncCompletionSession * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionPresentationViewModel -> unit
Public Sub Open (session As IAsyncCompletionSession, presentation As CompletionPresentationViewModel)
参数
- session
- IAsyncCompletionSession
- presentation
- CompletionPresentationViewModel