Partager via


PrimitiveExtensions.ToBase64StringNoPadding Method

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ToBase64StringNoPadding ( _
    bytes As Byte() _
) As String
public static string ToBase64StringNoPadding(
    this byte[] bytes
)
[ExtensionAttribute]
public:
static String^ ToBase64StringNoPadding(
    array<unsigned char>^ bytes
)
static member ToBase64StringNoPadding : 
        bytes:byte[] -> string
public static function ToBase64StringNoPadding(
    bytes : byte[]
) : String

Parameters

Return Value

Type: System.String

Usage Note

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

.NET Framework Security

See Also

Reference

PrimitiveExtensions Class

Microsoft.VisualStudio.Services.Common Namespace