Click or drag to resize
DataExtensionsWithT Method
Sets up the object using the given lambda expression

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public static T With<T>(
	this T obj,
	Action<T> setup
)

Parameters

obj
Type: T
Object to set up
setup
Type: SystemActionT
Set up action

Type Parameters

T

Return Value

Type: T

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