Exemple #1
0
 /// <summary>
 /// Set a property at a particular position inside an imported project file.
 /// The property will be in a group that has the specified condition.
 /// If necessary, a new property or property group will be created.
 /// </summary>
 /// <param name="propertyName">Property name.</param>
 /// <param name="propertyValue">Property value.</param>
 /// <param name="condition">The condition for this property.</param>
 /// <param name="importedProject">Specifies the project the property is imported from.</param>
 /// <param name="position">Specifies the position within the project file for the property.</param>
 /// <owner>DavidLe</owner>
 public void SetImportedProperty
 (
     string propertyName,
     string propertyValue,
     string condition,
     Project importedProject,
     PropertyPosition position
 )
 {
     SetPropertyAtHelper(propertyName, propertyValue, condition, /* importedProperty */ true, importedProject, position);
     importedProject.SetPropertyAtHelper(propertyName, propertyValue, condition, /* importedProperty */ false, null, position);
 }