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
'Declaração
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
- textBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer
The text buffer for which to create a smart tag source.
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
- 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.