共用方式為


IIntellisensePresenterProvider.TryCreateIntellisensePresenter Method

Definition

Attempts to create an IntelliSense presenter for a given IntelliSense session.

public:
 Microsoft::VisualStudio::Language::Intellisense::IIntellisensePresenter ^ TryCreateIntellisensePresenter(Microsoft::VisualStudio::Language::Intellisense::IIntellisenseSession ^ session);
public:
 Microsoft::VisualStudio::Language::Intellisense::IIntellisensePresenter ^ TryCreateIntellisensePresenter(Microsoft::VisualStudio::Language::Intellisense::IIntellisenseSession ^ session);
Microsoft::VisualStudio::Language::Intellisense::IIntellisensePresenter TryCreateIntellisensePresenter(Microsoft::VisualStudio::Language::Intellisense::IIntellisenseSession const & session);
public Microsoft.VisualStudio.Language.Intellisense.IIntellisensePresenter TryCreateIntellisensePresenter (Microsoft.VisualStudio.Language.Intellisense.IIntellisenseSession session);
abstract member TryCreateIntellisensePresenter : Microsoft.VisualStudio.Language.Intellisense.IIntellisenseSession -> Microsoft.VisualStudio.Language.Intellisense.IIntellisensePresenter
Public Function TryCreateIntellisensePresenter (session As IIntellisenseSession) As IIntellisensePresenter

Parameters

session
IIntellisenseSession

The session for which a presenter should be created.

Returns

A valid IntelliSense presenter, or null if none could be created.

Applies to