VBParameterInfoProvider Class
Provides IntelliPrompt parameter info data for the Visual Basic
language.
public class VBParameterInfoProvider : DotNetParameterInfoProviderBase, IParameterInfoProvider, IOrderable, IKeyedObject, IEditorViewSelectionChangeEventSink, IEditorDocumentTextChangeEventSink
- Inheritance:
- object ParameterInfoProviderBase DotNetParameterInfoProviderBase object
- Implements:
- IParameterInfoProvider IOrderable IKeyedObject IEditorViewSelectionChangeEventSink IEditorDocumentTextChangeEventSink
Constructors
VBParameterInfoProvider()
Initializes a new instance of the VBParameterInfoProvider
class.
public VBParameterInfoProvider()
Methods
CreateContext(IEditorView)
Creates an IDotNetContext for the caret's offset in the specified IEditorView.
protected override IDotNetContext CreateContext(IEditorView view)
Parameter | Type | Description |
---|---|---|
view | IEditorView | The IEditorView to examine. |
Returns
- IDotNetContext:
An IDotNetContext for the caret's offset in the specified IEditorView.
OnDocumentTextChanged(SyntaxEditor, EditorSnapshotChangedEventArgs)
Occurs after a text change occurs to an IEditorDocument that uses this language.
protected virtual void OnDocumentTextChanged(SyntaxEditor editor, EditorSnapshotChangedEventArgs e)
Parameter | Type | Description |
---|---|---|
editor | SyntaxEditor | The SyntaxEditor whose IEditorDocument is changed. |
e | EditorSnapshotChangedEventArgs | The |
OnDocumentTextChanging(SyntaxEditor, EditorSnapshotChangingEventArgs)
Occurs before a text change occurs to an IEditorDocument that uses this language.
protected virtual void OnDocumentTextChanging(SyntaxEditor editor, EditorSnapshotChangingEventArgs e)
Parameter | Type | Description |
---|---|---|
editor | SyntaxEditor | The SyntaxEditor whose IEditorDocument that is changing. |
e | EditorSnapshotChangingEventArgs | The |
RequestSession(IEditorView)
Requests that an IParameterInfoSession be opened for the specified IEditorView.
public override bool RequestSession(IEditorView view)
Parameter | Type | Description |
---|---|---|
view | IEditorView | The IEditorView that will host the session. |
Returns
- bool:
true
if a session was opened; otherwise,false
.
Inherited Members
- DotNetParameterInfoProviderBase.OnSessionOpening(IParameterInfoSession)
- DotNetParameterInfoProviderBase.OnViewSelectionChanged(IEditorView, EditorViewSelectionEventArgs)
- DotNetParameterInfoProviderBase.UpdateCurrentParameter(IParameterInfoSession, IDotNetContext)
- ParameterInfoProviderBase.Key
- ParameterInfoProviderBase.Orderings
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()