Gemstone Common Library
Show/Hide TOC

# StreamExtensionsReadStringCollection Method

Writes the supplied string to a Stream in UTF8 encoding.

## Definition

Namespace: Gemstone.IO.StreamExtensions
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
C#
View Source Request Example

    public static string?[]? ReadStringCollection(
    	this Stream stream
    )

VB
View Source Request Example

    <ExtensionAttribute>
    Public Shared Function ReadStringCollection (
    	stream As Stream
    ) As String()

C++
View Source Request Example

    public:
    [ExtensionAttribute]
    static array<String^>^ ReadStringCollection(
    	Stream^ stream
    )

JavaScript
View Source Request Example

    Gemstone.IO.StreamExtensions.StreamExtensions.ReadStringCollection = function(stream);

#### Parameters

stream Stream
  Source stream.

#### Return Value

String
Strings read.

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Stream. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

## See Also

#### Reference

StreamExtensions Class
Gemstone.IO.StreamExtensions Namespace