aspxtreme

String.Clone Method

System Namespace   String Class


Returns a reference to this instance of String.

[ VB ]
<Serializable>
NotOverridable Public Function Clone ( ) As Object Implements _
   ICloneable.Clone

[ C# ]
[ Serializable ]
public object Clone ( );

[ C++ ]
[ Serializable ]
public: __sealed Object* Clone ( );

[ JScript ]
public Serializable
function Clone ( ) : Object;

Return Value

This instance of String.

Implements

ICloneable.Clone

Remarks

The return value is not an independent copy of this instance; it is simply another view of the same data. Use the Copy or CopyTo method to create a separate String object with the same value as this instance.

See Also

String Members   Object   Copy   CopyTo



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support aspxtreme