RequestExtensions.ToBase64 Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.MetaProvider.PowerShell
Assembly: Microsoft.OneGet.MetaProvider.PowerShell (in Microsoft.OneGet.MetaProvider.PowerShell.dll)

Usage

'Usage
Dim text As String
Dim returnValue As String

returnValue = RequestExtensions.ToBase64(text)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ToBase64 ( _
    text As String _
) As String
[ExtensionAttribute] 
public static string ToBase64 (
    string text
)
[ExtensionAttribute] 
public:
static String^ ToBase64 (
    String^ text
)
/** @attribute ExtensionAttribute() */ 
public static String ToBase64 (
    String text
)
ExtensionAttribute 
public static function ToBase64 (
    text : String
) : String

Parameters

  • text

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

RequestExtensions Class
RequestExtensions Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace