StringExtensions.ToUnicodeString Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Extensions
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim bytes As IEnumerable(Of Byte)
Dim returnValue As String

returnValue = StringExtensions.ToUnicodeString(bytes)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ToUnicodeString ( _
    bytes As IEnumerable(Of Byte) _
) As String
[ExtensionAttribute] 
public static string ToUnicodeString (
    IEnumerable<byte> bytes
)
[ExtensionAttribute] 
public:
static String^ ToUnicodeString (
    IEnumerable<unsigned char>^ bytes
)
/** @attribute ExtensionAttribute() */ 
public static String ToUnicodeString (
    IEnumerable<byte> bytes
)
ExtensionAttribute 
public static function ToUnicodeString (
    bytes : IEnumerable<byte>
) : String

Parameters

  • bytes

Return Value

Returns String.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

StringExtensions Class
StringExtensions Members
Microsoft.OneGet.Utility.Extensions Namespace