共用方式為


DocumentActiveContextChangedEventArgs Constructor

Definition

public:
 DocumentActiveContextChangedEventArgs(Microsoft::CodeAnalysis::Solution ^ solution, Microsoft::CodeAnalysis::Text::SourceTextContainer ^ sourceTextContainer, Microsoft::CodeAnalysis::DocumentId ^ oldActiveContextDocumentId, Microsoft::CodeAnalysis::DocumentId ^ newActiveContextDocumentId);
public DocumentActiveContextChangedEventArgs (Microsoft.CodeAnalysis.Solution solution, Microsoft.CodeAnalysis.Text.SourceTextContainer sourceTextContainer, Microsoft.CodeAnalysis.DocumentId oldActiveContextDocumentId, Microsoft.CodeAnalysis.DocumentId newActiveContextDocumentId);
new Microsoft.CodeAnalysis.DocumentActiveContextChangedEventArgs : Microsoft.CodeAnalysis.Solution * Microsoft.CodeAnalysis.Text.SourceTextContainer * Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.DocumentId -> Microsoft.CodeAnalysis.DocumentActiveContextChangedEventArgs
Public Sub New (solution As Solution, sourceTextContainer As SourceTextContainer, oldActiveContextDocumentId As DocumentId, newActiveContextDocumentId As DocumentId)

Parameters

solution
Solution
sourceTextContainer
SourceTextContainer
oldActiveContextDocumentId
DocumentId
newActiveContextDocumentId
DocumentId

Applies to