asp.net.ph

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 Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 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 asp.net.ph