diff --git a/docs/api/scriptlinkstandard.helpers/scriptlinkhelpers.md b/docs/api/scriptlinkstandard.helpers/scriptlinkhelpers.md index 430f3ff..494f352 100644 --- a/docs/api/scriptlinkstandard.helpers/scriptlinkhelpers.md +++ b/docs/api/scriptlinkstandard.helpers/scriptlinkhelpers.md @@ -113,6 +113,12 @@ The following methods are also available as methods on the various objects. | AddRowObject(IFormObject, IRowObject) | formObject.AddRowObject(IRowObject) | | AddRowObject(IFormObject, string, string) | formObject.AddRowObject(string, string) | | AddRowObject(IFormObject, string, string, string) | formObject.AddRowObject(string, string) | +| Clone(IOptionObject) | optionObject.Clone() | +| Clone(IOptionObject2) | optionObject.Clone() | +| Clone(IOptionObject2015) | optionObject.Clone() | +| Clone(IFormObject) | formObject.Clone() | +| Clone(IRowObject) | rowObject.Clone() | +| Clone(IFieldObject) | fieldObject.Clone() | | DeleteRowObject(IOptionObject, IRowObject) | optionObject.DeleteRowObject(IRowObject) | | DeleteRowObject(IOptionObject, string) | optionObject.DeleteRowObject(string) | | DeleteRowObject(IOptionObject2, IRowObject) | optionObject.DeleteRowObject(IRowObject) | diff --git a/docs/api/scriptlinkstandard.objects/fieldobject.md b/docs/api/scriptlinkstandard.objects/fieldobject.md index 7e2f986..f254639 100644 --- a/docs/api/scriptlinkstandard.objects/fieldobject.md +++ b/docs/api/scriptlinkstandard.objects/fieldobject.md @@ -79,6 +79,7 @@ public void GetMyFieldValue_Returns_Y() | Method | Description | |:----------------|:------------| +| Clone() | Creates a copy of the FieldObject. | | GetFieldValue() | Returns the FieldValue of a FieldObject. | | IsEnabled() | Returns whether the FieldObject is enabled. | | IsLocked() | Returns whether the FieldObject is locked. | @@ -93,7 +94,7 @@ public void GetMyFieldValue_Returns_Y() | SetFieldValue(string) | Sets the FieldValue of a FieldObject and marks the FieldObject as modified. | | ToHtmlString(bool) | Returns the FieldObject as an HTML string. The ``, ``, and `` tags can be included if desired. | | ToJson() | Returns the FieldObject as a JSON string. | -| ToXml() | Returns the OptionObject2015 as an XML string. | +| ToXml() | Returns the FieldObject as an XML string. | ## Explicit Interface Implementations diff --git a/docs/api/scriptlinkstandard.objects/formobject.md b/docs/api/scriptlinkstandard.objects/formobject.md index ef018e5..3ae3345 100644 --- a/docs/api/scriptlinkstandard.objects/formobject.md +++ b/docs/api/scriptlinkstandard.objects/formobject.md @@ -81,6 +81,7 @@ public void GetMyFieldValue_Returns_Y() | AddRowObject([RowObject](./rowobject.md)) | Adds a [RowObject](./rowobject.md) to a the FormObject. | | AddRowObject(string, string) | Adds a [RowObject](./rowobject.md) to a FormObject using supplied RowId and ParentRowId. | | AddRowObject(string, string, string) | Adds a [RowObject](./rowobject.md) to a FormObject using supplied RowId and ParentRowId and setting the RowAction. | +| Clone() | Creates a copy of the FormObject. | | DeleteRowObject([RowObject](./rowobject.md)) | Removes a [RowObject](./rowobject.md) from a FormObject. | | DeleteRowObject(string) | Removes a [RowObject](./rowobject.md) from a FormObject by RowId. | | GetCurrentRowId() | Returns the ID of the [RowObject](./rowobject.md) in the CurrentRow of a FormObject. | diff --git a/docs/api/scriptlinkstandard.objects/optionobject.md b/docs/api/scriptlinkstandard.objects/optionobject.md index abb82be..c78cf34 100644 --- a/docs/api/scriptlinkstandard.objects/optionobject.md +++ b/docs/api/scriptlinkstandard.objects/optionobject.md @@ -79,7 +79,7 @@ OptionObject is the original definition of the OptionObject for use with myAvata | AddFormObject(FormObject) | Adds a FormObject to the OptionObject. | | AddFormObject(string, bool) | Creates a FormObject with specified FormId and adds to the OptionObject. The second parameter specifies whether the FormObject should be flagged as a Multiple Iteration form. | | AddRowObject(string, RowObject) | Adds a RowObject to the FormObject with the specified FormId. | -| Clone | Creates a shallow copy of the OptionObject. | +| Clone | Creates a deep copy of the OptionObject. | | DeleteRowObject(RowObject) | Removes the RowObject from the OptionObject. | | DeleteRowObject(string) | Removes a RowObject from the OptionObject by specified RowId. | | DisableAllFieldObjects | Sets all FieldObjects in the OptionObject to disabled. | diff --git a/docs/api/scriptlinkstandard.objects/optionobject2.md b/docs/api/scriptlinkstandard.objects/optionobject2.md index d3de90b..b557489 100644 --- a/docs/api/scriptlinkstandard.objects/optionobject2.md +++ b/docs/api/scriptlinkstandard.objects/optionobject2.md @@ -82,7 +82,7 @@ OptionObject2 is a subsequent definition of the OptionObject for use with myAvat | AddFormObject(FormObject) | Adds a FormObject to the OptionObject2. | | AddFormObject(string, bool) | Creates a FormObject with specified FormId and adds to the OptionObject2. The second parameter specifies whether the FormObject should be flagged as a Multiple Iteration form. | | AddRowObject(string, RowObject) | Adds a RowObject to the FormObject with the specified FormId. | -| Clone | Creates a shallow copy of the OptionObject2. | +| Clone | Creates a deep copy of the OptionObject2. | | DeleteRowObject(RowObject) | Removes the RowObject from the OptionObject2. | | DeleteRowObject(string) | Removes a RowObject from the OptionObject2 by specified RowId. | | DisableAllFieldObjects | Sets all FieldObjects in the OptionObject2 to disabled. | diff --git a/docs/api/scriptlinkstandard.objects/optionobject2015.md b/docs/api/scriptlinkstandard.objects/optionobject2015.md index 948a041..b63c7bb 100644 --- a/docs/api/scriptlinkstandard.objects/optionobject2015.md +++ b/docs/api/scriptlinkstandard.objects/optionobject2015.md @@ -83,7 +83,7 @@ To use OptionObject2015 you will need RADplus 2016 Update 17 installed in myAvat | AddFormObject([FormObject](./formobject.md)) | Adds a [FormObject](./formobject.md) to the OptionObject2015. | | AddFormObject(string, bool) | Creates a [FormObject](./formobject.md) with specified FormId and adds to the OptionObject2015. The second parameter specifies whether the [FormObject](./formobject.md) should be flagged as a Multiple Iteration form. | | AddRowObject(string, [RowObject](./rowobject.md)) | Adds a [RowObject](./rowobject.md) to the [FormObject](./formobject.md) with the specified FormId. | -| Clone | Creates a shallow copy of the OptionObject2015. | +| Clone | Creates a deep copy of the OptionObject2015. | | DeleteRowObject([RowObject](./rowobject.md)) | Removes the [RowObject](./rowobject.md) from the OptionObject2015. | | DeleteRowObject(string) | Removes a [RowObject](./rowobject.md) from the OptionObject2015 by specified RowId. | | DisableAllFieldObjects() | Sets all [FieldObjects](./fieldobject.md) in the OptionObject2015 to disabled. | diff --git a/docs/api/scriptlinkstandard.objects/rowobject.md b/docs/api/scriptlinkstandard.objects/rowobject.md index 0f8ff36..77020e2 100644 --- a/docs/api/scriptlinkstandard.objects/rowobject.md +++ b/docs/api/scriptlinkstandard.objects/rowobject.md @@ -82,6 +82,7 @@ public void GetMyFieldValue_Returns_Y() | AddFieldObject(string, string) | Adds a [FieldObject](./fieldobject.md) to a RowObject using supplied FieldNumber and FieldValue. | | AddFieldObject(string, string, string, string, string) | Adds a [FieldObject](./fieldobject.md) to a RowObject using supplied FieldNumber and FieldValue and setting the Enabled, Locked, and Required values (e.g., `Y` or `N`). | | AddFieldObject(string, string, bool, bool, bool) | Adds a [FieldObject](./fieldobject.md) to a RowObject using supplied FieldNumber and FieldValue and setting the Enabled, Locked, and Required values. | +| Clone() | Creates a copy of the RowObject. | | GetFieldValue(string) | Returns the FieldValue of a [FieldObject](./fieldobject.md) in a RowObject by FieldNumber. | | IsFieldEnabled(string) | Returns whether a [FieldObject](./fieldobject.md) in a RowObject is enabled by FieldNumber. | | IsFieldLocked(string) | Returns whether a [FieldObject](./fieldobject.md) in a RowObject is locked by FieldNumber. |