Partager via


IQuickInfoSourceProvider.TryCreateQuickInfoSource Method

Creates a Quick Info source for the specified context.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
Function TryCreateQuickInfoSource ( _
    textBuffer As ITextBuffer _
) As IQuickInfoSource
IQuickInfoSource TryCreateQuickInfoSource(
    ITextBuffer textBuffer
)
IQuickInfoSource^ TryCreateQuickInfoSource(
    ITextBuffer^ textBuffer
)
abstract TryCreateQuickInfoSource : 
        textBuffer:ITextBuffer -> IQuickInfoSource
function TryCreateQuickInfoSource(
    textBuffer : ITextBuffer
) : IQuickInfoSource

Parameters

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSource
A valid IQuickInfoSource, or nulla null reference (Nothing in Visual Basic) if none could be created.

.NET Framework Security

See Also

Reference

IQuickInfoSourceProvider Interface

Microsoft.VisualStudio.Language.Intellisense Namespace