Sets the target to a targetstring
| C# |
public void SetTarget( string target )
- target (String)
- Targetstring to set
Won't change the target, there is no point to this method at all.
Sofu.Sofu.Reference ref = new Sofu.Sofu.Reference("sometarget",new Sofu.Sofu.Value()); Console.Out.WriteLine(ref.AsReference().ToString()); //Writes "sometarget" ref.SetTarget("someothertarget"); Console.Out.WriteLine(ref.AsReference().ToString()); //Writes "someothertarget"