CloneSettings MembersKentico 8.1 API Reference
The CloneSettings type exposes the following members.
Constructors

  NameDescription
Public methodCloneSettings
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyAfterCloneInsertCallback
Handles actions right after inserting the clone object.
Public propertyAfterCloneStructureInsertCallback
Handles actions after processing main object and all the child, binging, sitebindigns, ... etc. objects.
Public propertyAssignToSiteID
If object has SiteBinding than a binding for given site is created after the object is cloned.
Public propertyBeforeCloneInsertCallback
Handles actions before inserting the clone. Use to further modify given object according to settings.
Public propertyCloneBase
Gets or sets the root object - the object the clonning procedure was called on (for example when cloning country with states, in the states the root object will be still the country).
Public propertyCloneToSiteID
ID of the site to clone the object to. Only for site objects. If this value is 0, object will be clonned under the site of the original object unless the object type has SupportsGlobalObjects = true. In that case, 0 means that an object is cloned as a global object.
Public propertyCodeName
New code name. If null, automatically generated unique code name is generated.
Public propertyCustomParameters
Hashtable with custom parameters (for special cases such as BizForms, CustomTables, Webparts, etc.) where additional operations have to be done.
Public propertyDisplayName
New display name. If null, automatically generated unique display name is generated.
Public propertyExcludedBindingTypes
Gets or sets the list of binding object types which should be clonned, if null than all child object types are clonned.
Public propertyExcludedChildTypes
Gets or sets the list of child object types which should be clonned, if null than all child object types are clonned.
Public propertyExcludedOtherBindingTypes
Gets or sets the list of other binding object types which should be clonned, if null than all child object types are clonned.
Public propertyIncludeBindings
If true, binding objects are included in the result.
Public propertyIncludeChildren
If true, child objects are included in the result.
Public propertyIncludeMetafiles
If true, metafiles of the object are included in the result as well.
Public propertyIncludeOtherBindings
If true, other binding objects are included in the result.
Public propertyIncludeSiteBindings
If true, site binding objects are included in the result. This setting is applied only when IncludeBindings is true.
Public propertyKeepFieldsTranslated
If true, cloned object will keep all the fields which use localization macros {$res.string$} without change. If false, cloned object will replace the localization with its translation in the default culture. This setting does not influence DislpayName - this will be always replaced by its translation.
Public propertyKeepOriginalSiteID
If true, CloneToSiteID is ignored and SiteID of the original object is kept.
Public propertyMaxRelativeLevel
Determines maximal level of the relationship (prent-child). -1 means all levels, 0 means no child objects, 1 means first level of children, etc.
Public propertyParameter
Custom parameter passed within the settings (for handlers usage, etc.).
Public propertyParentID
ID of the parent object to which the clonned object should be assigned.
Public propertyTranslations
Gets or sets the translation helper object (always at least empty instance, cannot return null) which provides translation Original object ID -> Cloned object ID.
Back to Top
See Also