共用方式為


ProjectChanges.GetChangedDocuments 方法

定義

多載

GetChangedDocuments(Boolean)

依其出現在 的順序取得 DocumentIdsNewProject 已變更的檔。 如果 onlyGetDocumentsWithTextChanges 為 true,則只會取得具有文字變更的檔 (我們只會檢查文字來源,而不是實際的內容) ;否則會取得具有任何變更的檔,例如 ParseOptionsSourceCodeKind 檔案路徑。

GetChangedDocuments()

取得 DocumentId 具有任何變更的檔, (文字和非文字) 的順序顯示 DocumentIdsNewProject

GetChangedDocuments(Boolean)

Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs

依其出現在 的順序取得 DocumentIdsNewProject 已變更的檔。 如果 onlyGetDocumentsWithTextChanges 為 true,則只會取得具有文字變更的檔 (我們只會檢查文字來源,而不是實際的內容) ;否則會取得具有任何變更的檔,例如 ParseOptionsSourceCodeKind 檔案路徑。

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::DocumentId ^> ^ GetChangedDocuments(bool onlyGetDocumentsWithTextChanges);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentId> GetChangedDocuments (bool onlyGetDocumentsWithTextChanges);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.ProjectChanges+<GetChangedDocuments>d__18))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentId> GetChangedDocuments (bool onlyGetDocumentsWithTextChanges);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.ProjectChanges+<GetChangedDocuments>d__19))]
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentId> GetChangedDocuments (bool onlyGetDocumentsWithTextChanges);
member this.GetChangedDocuments : bool -> seq<Microsoft.CodeAnalysis.DocumentId>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.ProjectChanges+<GetChangedDocuments>d__18))>]
member this.GetChangedDocuments : bool -> seq<Microsoft.CodeAnalysis.DocumentId>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.ProjectChanges+<GetChangedDocuments>d__19))>]
member this.GetChangedDocuments : bool -> seq<Microsoft.CodeAnalysis.DocumentId>
Public Iterator Function GetChangedDocuments (onlyGetDocumentsWithTextChanges As Boolean) As IEnumerable(Of DocumentId)
Public Function GetChangedDocuments (onlyGetDocumentsWithTextChanges As Boolean) As IEnumerable(Of DocumentId)

參數

onlyGetDocumentsWithTextChanges
Boolean

傳回

屬性

適用於

GetChangedDocuments()

Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs
Source:
ProjectChanges.cs

取得 DocumentId 具有任何變更的檔, (文字和非文字) 的順序顯示 DocumentIdsNewProject

public:
 System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::DocumentId ^> ^ GetChangedDocuments();
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentId> GetChangedDocuments ();
member this.GetChangedDocuments : unit -> seq<Microsoft.CodeAnalysis.DocumentId>
Public Function GetChangedDocuments () As IEnumerable(Of DocumentId)

傳回

適用於