IIntellisensePresenterProvider.TryCreateIntellisensePresenter Method
Attempts to create an IntelliSense presenter for a given IntelliSense session.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'Declaration
Function TryCreateIntellisensePresenter ( _
session As IIntellisenseSession _
) As IIntellisensePresenter
IIntellisensePresenter TryCreateIntellisensePresenter(
IIntellisenseSession session
)
IIntellisensePresenter^ TryCreateIntellisensePresenter(
IIntellisenseSession^ session
)
abstract TryCreateIntellisensePresenter :
session:IIntellisenseSession -> IIntellisensePresenter
function TryCreateIntellisensePresenter(
session : IIntellisenseSession
) : IIntellisensePresenter
Parameters
session
Type: Microsoft.VisualStudio.Language.Intellisense.IIntellisenseSessionThe session for which a presenter should be created.
Return Value
Type: Microsoft.VisualStudio.Language.Intellisense.IIntellisensePresenter
A valid IntelliSense presenter, or nulla null reference (Nothing in Visual Basic) if none could be created.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.