Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Base Namespaces
CMS.Base
BaseExtensions Class
BaseExtensions Methods
AsDataContainer Method
Batch(T) Method
Replace Method
BaseExtensions
AsDataContainer Method
Converts a DataRow to IDataContainer. Returns null if the original data row is null.
Namespace:
CMS.Base
Assembly:
CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax
C#
Copy
public
static
IDataContainer
AsDataContainer
(
this
DataRow
dr
)
Parameters
dr
Type:
System.Data
DataRow
Data row
Return Value
Type:
IDataContainer
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DataRow
. 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
Reference
BaseExtensions Class
CMS.Base Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com