Cuemon .NET Framework
Cast<TResult> Method

The type to cast the elements of source.
The System.Collections.IEnumerable that contains the elements to be cast to type TResult.
Cast the elements of an System.Collections.IEnumerable to the specified type.
Syntax
'Declaration
 
Public Shared Function Cast(Of TResult)( _
   ByVal source As IEnumerable _
) As IEnumerable(Of TResult)

Parameters

source
The System.Collections.IEnumerable that contains the elements to be cast to type TResult.

Type Parameters

TResult
The type to cast the elements of source.

Return Value

An IEnumerable that contains each element of the source sequence cast to the specified type.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EnumerableConverter Class
EnumerableConverter Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback