FileTextLoader.LoadTextAndVersionAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
LoadTextAndVersionAsync(LoadTextOptions, CancellationToken) |
Chargez un texte et une version du document dans l’espace de travail. |
LoadTextAndVersionAsync(Workspace, DocumentId, CancellationToken) |
Obsolète.
Chargez un texte et une version du document dans l’espace de travail. |
LoadTextAndVersionAsync(LoadTextOptions, CancellationToken)
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
Chargez un texte et une version du document dans l’espace de travail.
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)
Paramètres
- options
- LoadTextOptions
- cancellationToken
- CancellationToken
Retours
Exceptions
S’applique à
LoadTextAndVersionAsync(Workspace, DocumentId, CancellationToken)
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
- Source:
- FileTextLoader.cs
Attention
Use/override LoadTextAndVersionAsync(LoadTextOptions, CancellationToken)
Chargez un texte et une version du document dans l’espace de travail.
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)
Paramètres
- workspace
- Workspace
- documentId
- DocumentId
- cancellationToken
- CancellationToken
Retours
- Attributs