Sets the target to a targetstring
Declaration Syntax
C# |
public void SetTarget( string target )
Parameters
- target (String)
- Targetstring to set
Remarks
Won't change the target, there is no point to this method at all.
Examples
CopyC#
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"