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.3.0.0 (5.3.0)
Syntax public static Stream ToMemoryStream(
this string s
)
<ExtensionAttribute>
Public Shared Function ToMemoryStream (
s As String
) As Stream
Parameters
- s
- Type: SystemString
The s.
Return Value
Type:
StreamUsage 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