IIntellisenseController.DisconnectSubjectBuffer Method
Called when a subject ITextBuffer is removed from 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 DisconnectSubjectBuffer ( _
subjectBuffer As ITextBuffer _
)
void DisconnectSubjectBuffer(
ITextBuffer subjectBuffer
)
void DisconnectSubjectBuffer(
ITextBuffer^ subjectBuffer
)
abstract DisconnectSubjectBuffer :
subjectBuffer:ITextBuffer -> unit
function DisconnectSubjectBuffer(
subjectBuffer : ITextBuffer
)
Parameters
- subjectBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer
The disconnected text buffer.
Remarks
For more information about projection and buffer graphs, see Inside the Editor.
It is not guaranteed that the subject buffer was previously connected to this controller.
.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.