diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/WindowsInstaller/Row.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/WixToolset.Data/WindowsInstaller/Row.cs b/src/WixToolset.Data/WindowsInstaller/Row.cs index af0a323e..8c847c5b 100644 --- a/src/WixToolset.Data/WindowsInstaller/Row.cs +++ b/src/WixToolset.Data/WindowsInstaller/Row.cs | |||
@@ -237,6 +237,18 @@ namespace WixToolset.Data.WindowsInstaller | |||
237 | } | 237 | } |
238 | 238 | ||
239 | /// <summary> | 239 | /// <summary> |
240 | /// Copies this row to the target row. | ||
241 | /// </summary> | ||
242 | /// <param name="target">Row to copy data to.</param> | ||
243 | public void CopyTo(Row target) | ||
244 | { | ||
245 | for (var i = 0; i < this.Fields.Length; i++) | ||
246 | { | ||
247 | target[i] = this[i]; | ||
248 | } | ||
249 | } | ||
250 | |||
251 | /// <summary> | ||
240 | /// Returns a string representation of the Row. | 252 | /// Returns a string representation of the Row. |
241 | /// </summary> | 253 | /// </summary> |
242 | /// <returns>A string representation of the Row.</returns> | 254 | /// <returns>A string representation of the Row.</returns> |