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
'Dichiarazione
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
- textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView
The ITextView over which to create a smart tag session.
- type
Type: Microsoft.VisualStudio.Language.Intellisense.SmartTagType
The type of smart tag that should be created.
- triggerPoint
Type: Microsoft.VisualStudio.Text.ITrackingPoint
The location in the buffer where the smart tag session should be created.
- state
Type: Microsoft.VisualStudio.Language.Intellisense.SmartTagState
The initial state of the smart tag session.
Return Value
Type: Microsoft.VisualStudio.Language.Intellisense.ISmartTagSession
A valid smart tag session.
.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.