[This is preliminary documentation and is subject to change.]
Casts enumerable of rows (such as rowset) to the specified row type, returning empty enumerable if the source is null
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static IEnumerable<TRow> AsEnumerableOf<TRow>(
this IEnumerable<Row> source
)
where TRow : Row
public static IEnumerable<TRow> AsEnumerableOf<TRow>(
this IEnumerable<Row> source
)
where TRow : Row
<ExtensionAttribute>
Public Shared Function AsEnumerableOf(Of TRow As Row) (
source As IEnumerable(Of Row)
) As IEnumerable(Of TRow)
<ExtensionAttribute>
Public Shared Function AsEnumerableOf(Of TRow As Row) (
source As IEnumerable(Of Row)
) As IEnumerable(Of TRow)
public:
[ExtensionAttribute]
generic<typename TRow>
where TRow : Row
static IEnumerable<TRow>^ AsEnumerableOf(
IEnumerable<Row^>^ source
)
public:
[ExtensionAttribute]
generic<typename TRow>
where TRow : Row
static IEnumerable<TRow>^ AsEnumerableOf(
IEnumerable<Row^>^ source
)
static member AsEnumerableOf :
source : IEnumerable<Row> -> IEnumerable<'TRow> when 'TRow : Row
static member AsEnumerableOf :
source : IEnumerable<Row> -> IEnumerable<'TRow> when 'TRow : Row
- TRow
Return Value
Type:
IEnumerable TRow Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable Row . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).