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