다음을 통해 공유


ISmartTagSourceProvider.TryCreateSmartTagSource Method

Attempts to create a smart tag source for the specified buffer.

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

Syntax

‘선언
Function TryCreateSmartTagSource ( _
    textBuffer As ITextBuffer _
) As ISmartTagSource
ISmartTagSource TryCreateSmartTagSource(
    ITextBuffer textBuffer
)
ISmartTagSource^ TryCreateSmartTagSource(
    ITextBuffer^ textBuffer
)
abstract TryCreateSmartTagSource : 
        textBuffer:ITextBuffer -> ISmartTagSource 
function TryCreateSmartTagSource(
    textBuffer : ITextBuffer
) : ISmartTagSource

Parameters

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense.ISmartTagSource
The ISmartTagSource, or nulla null reference (Nothing in Visual Basic) if no smart tag source could be created.

.NET Framework Security

See Also

Reference

ISmartTagSourceProvider Interface

Microsoft.VisualStudio.Language.Intellisense Namespace