Constructors: NewStringReader

NewStringReader

Returns a new StringReader object.



 Public Function NewStringReader(
	  ByRef s As String,
	  Optional ByVal IsOwner As Boolean ) As StringReader

Parameters

s
[ByRef] String. The string to be read from.
IsOwner
[ByVal] Optional. Boolean. Tells StringReader to steal the string from the source.

Return Values

StringReader -  The new StringReader object.

Remarks

If IsOwner is True, then the variable passed into as s will become an empty string after the object is constructed.

See Also

Project VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewStringBuilder NewStrings