IMultipleResults::GetResult<TElement> Method ()

 

Retrieves the next result as a sequence of a specified type.

Namespace:   System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

generic<typename TElement>
IEnumerable<TElement>^ GetResult()

Return Value

Type: System.Collections.Generic::IEnumerable<TElement>^

An enumeration for iterating over the results.

Type Parameters

TElement

The type of the sequence to be returned.

You would use code similar to the following to execute this stored procedure.

System_CAPS_noteNote

You must use the GetResult<TElement> pattern to obtain an enumerator of the correct type, based on your knowledge of the stored procedure.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Return to top
Show: