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 Constructor (Char[])

Initializes an instance of the string class with a specified character.

[Visual Basic]
Overloads Public Sub New( _
   ByVal value() As Char _
)
[C#]
public String(
   char[] value
);
[C++]
public: String(
   __wchar_t* value[]
);
[JScript]
public function String(
   value : Char[]
);

Parameters

value
The character from which the string is to be created.

Remarks

When passing a null string to a constructor in VJ or VC, the null should be explicitly type cast to a string. For example,

See Also

String Class | String Members | System Namespace | String Constructor Overload List | Char