Workspace.RaiseDocumentActiveContextChangedEventAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
- 屬性