共用方式為


SymbolEditor.EditAllDeclarationsAsync 方法

定義

多載

EditAllDeclarationsAsync(ISymbol, SymbolEditor+AsyncDeclarationEditAction, CancellationToken)

啟用編輯所有符號的宣告。 部分類型和方法可能有多個宣告。

EditAllDeclarationsAsync(ISymbol, SymbolEditor+DeclarationEditAction, CancellationToken)

啟用編輯所有符號的宣告。 部分類型和方法可能有多個宣告。

EditAllDeclarationsAsync(ISymbol, SymbolEditor+AsyncDeclarationEditAction, CancellationToken)

來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs

啟用編輯所有符號的宣告。 部分類型和方法可能有多個宣告。

public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.ISymbol> EditAllDeclarationsAsync (Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Editing.SymbolEditor.AsyncDeclarationEditAction editAction, System.Threading.CancellationToken cancellationToken = default);
member this.EditAllDeclarationsAsync : Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.Editing.SymbolEditor.AsyncDeclarationEditAction * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.ISymbol>
Public Function EditAllDeclarationsAsync (symbol As ISymbol, editAction As SymbolEditor.AsyncDeclarationEditAction, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ISymbol)

參數

symbol
ISymbol

要編輯的符號。

editAction
SymbolEditor.AsyncDeclarationEditAction

對宣告進行編輯的動作。

cancellationToken
CancellationToken

選擇性 CancellationToken

傳回

包含變更的新符號。

適用於

EditAllDeclarationsAsync(ISymbol, SymbolEditor+DeclarationEditAction, CancellationToken)

來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs
來源:
SymbolEditor.cs

啟用編輯所有符號的宣告。 部分類型和方法可能有多個宣告。

public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.ISymbol> EditAllDeclarationsAsync (Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Editing.SymbolEditor.DeclarationEditAction editAction, System.Threading.CancellationToken cancellationToken = default);
member this.EditAllDeclarationsAsync : Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.Editing.SymbolEditor.DeclarationEditAction * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.ISymbol>
Public Function EditAllDeclarationsAsync (symbol As ISymbol, editAction As SymbolEditor.DeclarationEditAction, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ISymbol)

參數

symbol
ISymbol

要編輯的符號。

editAction
SymbolEditor.DeclarationEditAction

對宣告進行編輯的動作。

cancellationToken
CancellationToken

選擇性 CancellationToken

傳回

包含變更的新符號。

適用於