共用方式為


Workspace.RaiseDocumentActiveContextChangedEventAsync 方法

定義

多載

RaiseDocumentActiveContextChangedEventAsync(SourceTextContainer, DocumentId, DocumentId)
RaiseDocumentActiveContextChangedEventAsync(Document)
已淘汰.

RaiseDocumentActiveContextChangedEventAsync(SourceTextContainer, DocumentId, DocumentId)

Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
protected:
 System::Threading::Tasks::Task ^ RaiseDocumentActiveContextChangedEventAsync(Microsoft::CodeAnalysis::Text::SourceTextContainer ^ sourceTextContainer, Microsoft::CodeAnalysis::DocumentId ^ oldActiveContextDocumentId, Microsoft::CodeAnalysis::DocumentId ^ newActiveContextDocumentId);
protected System.Threading.Tasks.Task RaiseDocumentActiveContextChangedEventAsync (Microsoft.CodeAnalysis.Text.SourceTextContainer sourceTextContainer, Microsoft.CodeAnalysis.DocumentId oldActiveContextDocumentId, Microsoft.CodeAnalysis.DocumentId newActiveContextDocumentId);
member this.RaiseDocumentActiveContextChangedEventAsync : Microsoft.CodeAnalysis.Text.SourceTextContainer * Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.DocumentId -> System.Threading.Tasks.Task
Protected Function RaiseDocumentActiveContextChangedEventAsync (sourceTextContainer As SourceTextContainer, oldActiveContextDocumentId As DocumentId, newActiveContextDocumentId As DocumentId) As Task

參數

sourceTextContainer
SourceTextContainer
oldActiveContextDocumentId
DocumentId
newActiveContextDocumentId
DocumentId

傳回

適用於

RaiseDocumentActiveContextChangedEventAsync(Document)

Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs
Source:
Workspace_Events.cs

警告

This member is obsolete. Use the RaiseDocumentActiveContextChangedEventAsync(SourceTextContainer, DocumentId, DocumentId) overload instead.

protected:
 System::Threading::Tasks::Task ^ RaiseDocumentActiveContextChangedEventAsync(Microsoft::CodeAnalysis::Document ^ document);
[System.Obsolete("This member is obsolete. Use the RaiseDocumentActiveContextChangedEventAsync(SourceTextContainer, DocumentId, DocumentId) overload instead.", true)]
protected System.Threading.Tasks.Task RaiseDocumentActiveContextChangedEventAsync (Microsoft.CodeAnalysis.Document document);
[<System.Obsolete("This member is obsolete. Use the RaiseDocumentActiveContextChangedEventAsync(SourceTextContainer, DocumentId, DocumentId) overload instead.", true)>]
member this.RaiseDocumentActiveContextChangedEventAsync : Microsoft.CodeAnalysis.Document -> System.Threading.Tasks.Task
Protected Function RaiseDocumentActiveContextChangedEventAsync (document As Document) As Task

參數

document
Document

傳回

屬性

適用於