UnityEditor.iOS.Xcode.PBX.PBXElementDict.SetString C# (CSharp) Method

SetString() public method

public SetString ( string key, string val ) : void
key string
val string
return void
        public void SetString(string key, string val)
        {
            this.values[key] = new PBXElementString(val);
        }

Usage Example

 public override void UpdateProps()
 {
     base.m_Properties.values.Remove("projectReferences");
     if (this.projectReferences.Count > 0)
     {
         PBXElementArray array = base.m_Properties.CreateArray("projectReferences");
         foreach (ProjectReference reference in this.projectReferences)
         {
             PBXElementDict dict = array.AddDict();
             dict.SetString("ProductGroup", reference.group);
             dict.SetString("ProjectRef", reference.projectRef);
         }
     }
     base.SetPropertyList("targets", this.targets);
     base.SetPropertyString("buildConfigurationList", this.buildConfigList);
     if (this.knownAssetTags.Count > 0)
     {
         PBXElementDict dict2;
         if (base.m_Properties.Contains("attributes"))
         {
             dict2 = base.m_Properties["attributes"].AsDict();
         }
         else
         {
             dict2 = base.m_Properties.CreateDict("attributes");
         }
         PBXElementArray array2 = dict2.CreateArray("knownAssetTags");
         foreach (string str in this.knownAssetTags)
         {
             array2.AddString(str);
         }
     }
 }
All Usage Examples Of UnityEditor.iOS.Xcode.PBX.PBXElementDict::SetString