Class StringExtensions
Stellt Methoden zur Konvertierung von String in IO-Elemente konvertieren.
Inheritance
System.Object
StringExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dataport.AppFrameDotNet.DotNetTools.IO.Extensions
Assembly: Dataport.AppFrameDotNet.DotNetTools.dll
Syntax
public static class StringExtensions
Methods
AsStream(String, Encoding)
Überführt einen String in einen Stream.
Declaration
public static Stream AsStream(this string str, Encoding encoding)
Parameters
Type | Name | Description |
---|---|---|
System.String | str | Der zu verarbeitende String. |
System.Text.Encoding | encoding | Das Encoding des Strings. |
Returns
Type | Description |
---|---|
System.IO.Stream | Stream-Representation des Strings. |