The CloneSettings type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
CloneSettings |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Properties
Name | Description | |
---|---|---|
AfterCloneInsertCallback |
Handles actions right after inserting the clone object.
| |
AfterCloneStructureInsertCallback |
Handles actions after processing main object and all the child, binging, sitebindigns, ... etc. objects.
| |
AssignToSiteID |
If object has SiteBinding than a binding for given site is created after the object is cloned.
| |
BeforeCloneInsertCallback |
Handles actions before inserting the clone. Use to further modify given object according to settings.
| |
CloneBase |
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).
| |
CloneToSiteID |
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.
| |
CodeName |
New code name. If null, automatically generated unique code name is generated.
| |
CustomParameters |
Hashtable with custom parameters (for special cases such as BizForms, CustomTables, Webparts, etc.) where additional operations have to be done.
| |
DisplayName |
New display name. If null, automatically generated unique display name is generated.
| |
ExcludedBindingTypes |
Gets or sets the list of binding object types which should be clonned, if null than all child object types are clonned.
| |
ExcludedChildTypes |
Gets or sets the list of child object types which should be clonned, if null than all child object types are clonned.
| |
ExcludedOtherBindingTypes |
Gets or sets the list of other binding object types which should be clonned, if null than all child object types are clonned.
| |
IncludeBindings |
If true, binding objects are included in the result.
| |
IncludeChildren |
If true, child objects are included in the result.
| |
IncludeMetafiles |
If true, metafiles of the object are included in the result as well.
| |
IncludeOtherBindings |
If true, other binding objects are included in the result.
| |
IncludeSiteBindings |
If true, site binding objects are included in the result. This setting is applied only when IncludeBindings is true.
| |
KeepFieldsTranslated |
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.
| |
KeepOriginalSiteID |
If true, CloneToSiteID is ignored and SiteID of the original object is kept.
| |
MaxRelativeLevel |
Determines maximal level of the relationship (prent-child). -1 means all levels, 0 means no child objects, 1 means first level of children, etc.
| |
Parameter |
Custom parameter passed within the settings (for handlers usage, etc.).
| |
ParentID |
ID of the parent object to which the clonned object should be assigned.
| |
Translations |
Gets or sets the translation helper object (always at least empty instance, cannot return null) which provides translation Original object ID -> Cloned object ID.
|
See Also