DataExtensionsAsInfoType Method |
Converts the DataSet to a strongly typed one
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntaxpublic 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:
InfoDataSetInfoTypeUsage 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