ModuleManagerGetObject Method (DataRow, String, Boolean) |
Gets a new object of the given type created from the given DataRow.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntaxpublic static BaseInfo GetObject(
DataRow objectRow,
string objectType,
bool throwIfNotFound = false
)
Parameters
- objectRow
- Type: System.DataDataRow
Object DataRow - objectType
- Type: SystemString
Object type - throwIfNotFound (Optional)
- Type: SystemBoolean
If true, the method throws an exception in case the object type was not found
Return Value
Type:
BaseInfo
See Also