DataExtensionsWithT Method |
Sets up the object using the given lambda expression
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax 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:
TUsage 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