Table of Contents

Method GetInlineResultsAs

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

GetInlineResultsAs<TDocument>()

Gets the inline results as TDocuments.

public IEnumerable<TDocument> GetInlineResultsAs<TDocument>()

Returns

IEnumerable<TDocument>

The documents.

Type Parameters

TDocument

The type of the documents.

GetInlineResultsAs(Type)

Gets the inline results as TDocuments.

public IEnumerable<object> GetInlineResultsAs(Type documentType)

Parameters

documentType Type

The type of the documents.

Returns

IEnumerable<object>

The documents.