Click or drag to resize
CMSUIPageEnsureObject Method
Tries to set EditedObject based on object type and object identifier objectId.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 10.0.0
Syntax
C#
protected int EnsureObject(
	string objectId
)

Parameters

objectId
Type: SystemString
Object identifier - ID or code name

Return Value

Type: Int32
See Also