Compartilhar via


Workspace.GetRelatedDocumentIds(SourceTextContainer) Método

Definição

Obtém as IDs de documentos no CurrentSolution instantâneo associado ao determinado container. Os documentos normalmente são associados a um contêiner de texto quando os documentos são abertos.

public:
 virtual System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::DocumentId ^> ^ GetRelatedDocumentIds(Microsoft::CodeAnalysis::Text::SourceTextContainer ^ container);
public virtual System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.DocumentId> GetRelatedDocumentIds (Microsoft.CodeAnalysis.Text.SourceTextContainer container);
abstract member GetRelatedDocumentIds : Microsoft.CodeAnalysis.Text.SourceTextContainer -> seq<Microsoft.CodeAnalysis.DocumentId>
override this.GetRelatedDocumentIds : Microsoft.CodeAnalysis.Text.SourceTextContainer -> seq<Microsoft.CodeAnalysis.DocumentId>
Public Overridable Function GetRelatedDocumentIds (container As SourceTextContainer) As IEnumerable(Of DocumentId)

Parâmetros

Retornos

Aplica-se a