共用方式為


IIntellisenseController.ConnectSubjectBuffer(ITextBuffer) Method

Definition

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.

public:
 void ConnectSubjectBuffer(Microsoft::VisualStudio::Text::ITextBuffer ^ subjectBuffer);
public:
 void ConnectSubjectBuffer(Microsoft::VisualStudio::Text::ITextBuffer ^ subjectBuffer);
void ConnectSubjectBuffer(Microsoft::VisualStudio::Text::ITextBuffer const & subjectBuffer);
public void ConnectSubjectBuffer (Microsoft.VisualStudio.Text.ITextBuffer subjectBuffer);
abstract member ConnectSubjectBuffer : Microsoft.VisualStudio.Text.ITextBuffer -> unit
Public Sub ConnectSubjectBuffer (subjectBuffer As ITextBuffer)

Parameters

subjectBuffer
ITextBuffer

The newly-connected text buffer.

Remarks

For more information about projection and buffer graphs, see Inside the Editor.

Applies to