Share via


Document.GetLinkedDocumentIds Method

Definition

Gets the list of DocumentIds that are linked to this Document. Documents are considered to be linked if they share the same FilePath. This DocumentId is excluded from the result.

public:
 System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::DocumentId ^> GetLinkedDocumentIds();
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DocumentId> GetLinkedDocumentIds ();
member this.GetLinkedDocumentIds : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.DocumentId>
Public Function GetLinkedDocumentIds () As ImmutableArray(Of DocumentId)

Returns

Applies to