Kentico 11 API Reference
Kentico 11 API Reference
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: 11.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) 2017 Kentico Software
Send comments on this topic to
support@kentico.com