Constructors: NewStringReader |
Returns a new StringReader object.
Public Function NewStringReader( ByRef s As String, Optional ByVal CopyString As Boolean ) As StringReader
By default the parameter s is referenced internally. This requires the original holder of the string variable to remain valid until StringReader has been disposed. If the original string cannot be maintained, then passing True for CopyString will cause StringReader to make a copy of the source string to prevent any string deallocation issues.