Share via


ISmartTagBroker.CreateSmartTagSession Method

Creates a smart tag session for smart tags of the specified type at the specified location.

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

Syntax

'Declaration
Function CreateSmartTagSession ( _
    textView As ITextView, _
    type As SmartTagType, _
    triggerPoint As ITrackingPoint, _
    state As SmartTagState _
) As ISmartTagSession
ISmartTagSession CreateSmartTagSession(
    ITextView textView,
    SmartTagType type,
    ITrackingPoint triggerPoint,
    SmartTagState state
)
ISmartTagSession^ CreateSmartTagSession(
    ITextView^ textView, 
    SmartTagType type, 
    ITrackingPoint^ triggerPoint, 
    SmartTagState state
)
abstract CreateSmartTagSession : 
        textView:ITextView * 
        type:SmartTagType * 
        triggerPoint:ITrackingPoint * 
        state:SmartTagState -> ISmartTagSession
function CreateSmartTagSession(
    textView : ITextView, 
    type : SmartTagType, 
    triggerPoint : ITrackingPoint, 
    state : SmartTagState
) : ISmartTagSession

Parameters

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense.ISmartTagSession
A valid smart tag session.

.NET Framework Security

See Also

Reference

ISmartTagBroker Interface

Microsoft.VisualStudio.Language.Intellisense Namespace