Click or drag to resize

ExtensionMethodsToMemoryStream Method

Converts the specified string into a memory stream, which is pre-positioned at position 0.

Namespace:  SD.LLBLGen.Pro.Core
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public static Stream ToMemoryStream(
	this string s
)

Parameters

s
Type: SystemString
The s.

Return Value

Type: Stream

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. 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