// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. namespace WixToolset.Data.WindowsInstaller.Rows { /// /// Specialization of a row for the upgrade table. /// public sealed class PropertyRow : Row { /// /// Creates an Upgrade row that belongs to a table. /// /// Original source lines for this row. /// Table this Upgrade row belongs to and should get its column definitions from. public PropertyRow(SourceLineNumber sourceLineNumbers, Table table) : base(sourceLineNumbers, table) { } /// /// Gets and sets the upgrade code for the row. /// /// Property identifier for the row. public string Property { get { return (string)this.Fields[0].Data; } set { this.Fields[0].Data = value; } } /// /// Gets and sets the value for the row. /// /// Property value for the row. public string Value { get { return (string)this.Fields[1].Data; } set { this.Fields[1].Data = value; } } } }