Click or drag to resize
BaseExtensionsToArrayTFrom, TTo Method
Converts the given collection to a list of values

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
public static TTo[] ToArray<TFrom, TTo>(
	this TFrom[] values,
	Func<TFrom, TTo> transform
)

Parameters

values
Type: TFrom
Values
transform
Type: SystemFuncTFrom, TTo
Transformation of the original object to the result

Type Parameters

TFrom
TTo

Return Value

Type: TTo

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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).
See Also