CastList(T) Method
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicSharedFunctionCastList(Of T) ( _
itemsAsIEnumerable _
) AsList(Of T)
'Usage
DimitemsAsIEnumerableDimreturnValueAsList(Of T)
returnValue = RuntimeUtilities.CastList(items)
publicstaticList<T> CastList<T>(
IEnumerableitems
)
public:
generic<typename T>
staticList<T>^ CastList(
IEnumerable^ items
)
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- items
Type: System.Collections. . :: . .IEnumerable
Return Value
Type: System.Collections.Generic. . :: . .List< (Of < ( <'T> ) > ) >
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).