NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

String.Copy

Creates a new string by copying another string.

[Visual Basic]
Public Shared Function Copy( _
   ByVal str0 As String _
) As String
[C#]
public static string Copy(
   string str0
);
[C++]
public: static String* Copy(
   String* str0
);
[JScript]
public static function Copy(
   str0 : String
) : String;

Parameters

str0
The string to be copied

Return Value

The new string.

Remarks

The Copy method makes a duplicate of a specified string. If the value is null, a string is created that is initialized to null string.

See Also

String Class | String Members | System Namespace | MemberValueEnum | Empty | DBNull