FileTextLoader.LoadTextAndVersionAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
LoadTextAndVersionAsync(LoadTextOptions, CancellationToken) |
Caricare un testo e una versione del documento nell'area di lavoro. |
LoadTextAndVersionAsync(Workspace, DocumentId, CancellationToken) |
Obsoleti.
Caricare un testo e una versione del documento nell'area di lavoro. |
LoadTextAndVersionAsync(LoadTextOptions, CancellationToken)
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
Caricare un testo e una versione del documento nell'area di lavoro.
public override System.Threading.Tasks.Task<Microsoft.CodeAnalysis.TextAndVersion> LoadTextAndVersionAsync (Microsoft.CodeAnalysis.LoadTextOptions options, System.Threading.CancellationToken cancellationToken);
override this.LoadTextAndVersionAsync : Microsoft.CodeAnalysis.LoadTextOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.TextAndVersion>
Public Overrides Function LoadTextAndVersionAsync (options As LoadTextOptions, cancellationToken As CancellationToken) As Task(Of TextAndVersion)
Parametri
- options
- LoadTextOptions
- cancellationToken
- CancellationToken
Restituisce
Eccezioni
Si applica a
LoadTextAndVersionAsync(Workspace, DocumentId, CancellationToken)
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
- Origine:
- FileTextLoader.cs
Attenzione
Use/override LoadTextAndVersionAsync(LoadTextOptions, CancellationToken)
Caricare un testo e una versione del documento nell'area di lavoro.
public:
override System::Threading::Tasks::Task<Microsoft::CodeAnalysis::TextAndVersion ^> ^ LoadTextAndVersionAsync(Microsoft::CodeAnalysis::Workspace ^ workspace, Microsoft::CodeAnalysis::DocumentId ^ documentId, System::Threading::CancellationToken cancellationToken);
public override System.Threading.Tasks.Task<Microsoft.CodeAnalysis.TextAndVersion> LoadTextAndVersionAsync (Microsoft.CodeAnalysis.Workspace workspace, Microsoft.CodeAnalysis.DocumentId documentId, System.Threading.CancellationToken cancellationToken);
[System.Obsolete("Use/override LoadTextAndVersionAsync(LoadTextOptions, CancellationToken)", false)]
public override System.Threading.Tasks.Task<Microsoft.CodeAnalysis.TextAndVersion> LoadTextAndVersionAsync (Microsoft.CodeAnalysis.Workspace? workspace, Microsoft.CodeAnalysis.DocumentId? documentId, System.Threading.CancellationToken cancellationToken);
override this.LoadTextAndVersionAsync : Microsoft.CodeAnalysis.Workspace * Microsoft.CodeAnalysis.DocumentId * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.TextAndVersion>
[<System.Obsolete("Use/override LoadTextAndVersionAsync(LoadTextOptions, CancellationToken)", false)>]
override this.LoadTextAndVersionAsync : Microsoft.CodeAnalysis.Workspace * Microsoft.CodeAnalysis.DocumentId * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.TextAndVersion>
Public Overrides Function LoadTextAndVersionAsync (workspace As Workspace, documentId As DocumentId, cancellationToken As CancellationToken) As Task(Of TextAndVersion)
Parametri
- workspace
- Workspace
- documentId
- DocumentId
- cancellationToken
- CancellationToken
Restituisce
- Attributi