Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.DataEngine Namespaces
CMS.DataEngine
BaseInfo Class
BaseInfo Methods
GetObject Method
GetObject Method (Int32)
GetObject Method (IWhereCondition, Boolean)
BaseInfo
GetObject Method (Int32)
Gets the object by its ID.
Namespace:
CMS.DataEngine
Assembly:
CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
Copy
public
BaseInfo
GetObject
(
int
objectId
)
Parameters
objectId
Type:
System
Int32
Object ID
Return Value
Type:
BaseInfo
Exceptions
Exception
Condition
InvalidOperationException
Thrown when
IDColumn
is not set.
See Also
Reference
BaseInfo Class
GetObject Overload
CMS.DataEngine Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com