ISupportedChangesService.CanApplyParseOptionChange Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Wird während eines Aufrufs von aufgerufen, TryApplyChanges(Solution) um zu bestimmen, ob eine bestimmte Änderung an ParseOptions zulässig ist.
public bool CanApplyParseOptionChange (Microsoft.CodeAnalysis.ParseOptions oldOptions, Microsoft.CodeAnalysis.ParseOptions newOptions, Microsoft.CodeAnalysis.Project project);
abstract member CanApplyParseOptionChange : Microsoft.CodeAnalysis.ParseOptions * Microsoft.CodeAnalysis.ParseOptions * Microsoft.CodeAnalysis.Project -> bool
Public Function CanApplyParseOptionChange (oldOptions As ParseOptions, newOptions As ParseOptions, project As Project) As Boolean
Parameter
- oldOptions
- ParseOptions
Das alte ParseOptions des Projekts von vor der Änderung.
- newOptions
- ParseOptions
Das neue ParseOptions des Projekts, das an TryApplyChanges(Solution)übergeben wurde.
- project
- Project
Das Projekt, das in der Solution an TryApplyChanges(Solution)übergeben wird, enthalten ist.
Gibt zurück
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für