ISchemaContentReplace Method
|
Replace a
field at the specified location.
This is a combination of replace and content transfer. If the new field to add matches names in the current field list, transfer the content over to the replacement.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntaxbool Replace(
int index,
ISchemaUnit contentToReplaceOld
)
Function Replace (
index As Integer,
contentToReplaceOld As ISchemaUnit
) As Boolean
bool Replace(
int index,
ISchemaUnit^ contentToReplaceOld
)
abstract Replace :
index : int *
contentToReplaceOld : ISchemaUnit -> bool Parameters
- index Int32
- Field location for replacement.
- contentToReplaceOld ISchemaUnit
- The content to use to replace the current field.
Return Value
BooleanTrue or false value indicating if content was successfully transferred.
RemarksEdge case is several fields with same name. In this case, we implement a state object to make sure repeated fields are taken by order.
See Also