IIntellisenseController.ConnectSubjectBuffer Method
Called when a new subject ITextBuffer appears in the graph of buffers associated with the ITextView, due to a change in projection or content type.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'宣言
Sub ConnectSubjectBuffer ( _
subjectBuffer As ITextBuffer _
)
void ConnectSubjectBuffer(
ITextBuffer subjectBuffer
)
void ConnectSubjectBuffer(
ITextBuffer^ subjectBuffer
)
abstract ConnectSubjectBuffer :
subjectBuffer:ITextBuffer -> unit
function ConnectSubjectBuffer(
subjectBuffer : ITextBuffer
)
Parameters
- subjectBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer
The newly-connected text buffer.
Remarks
For more information about projection and buffer graphs, see Inside the Editor.
.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.