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*, Int32, Int32)

Initailizes a new instance of the string that is unsafe.

[Visual Basic]
Overloads Public Sub New( _
   ByVal value As Char*, _
   ByVal startIndex As Integer, _
   ByVal length As Integer _
)
[C#]
public String(
   Char* value,
   int startIndex,
   int length
);
[C++]
public: String(
   Char** value,
   int startIndex,
   int length
);
[JScript]
public function String(
   value : Char*,
   startIndex : int,
   length : int
);

Parameters

value
The string.
startIndex
[To be supplied.]
length
[To be supplied.]

Remarks

This constructor is not CLS Compliant.

This constuctor initailizes a new string with the characters copied from ptr. The ptr parameter is a WCHAR*. If ptr is null, a string is created that is initialized to No Object.

This method is assessible only from Visual C.

See Also

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