Workspace.GetRelatedDocumentIds(SourceTextContainer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ids for documents in the CurrentSolution snapshot associated with the given container
.
Documents are normally associated with a text container when the documents are opened.
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)
Parameters
- container
- SourceTextContainer
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.