Click or drag to resize
DataExtensionsAsInfoType Method
Converts the DataSet to a strongly typed one

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public static InfoDataSet<InfoType> As<InfoType>(
	this DataSet ds
)
where InfoType : BaseInfo

Parameters

ds
Type: System.DataDataSet
Source data set

Type Parameters

InfoType

Return Value

Type: InfoDataSetInfoType

Usage Note

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