共用方式為


Convert.ToBase64String Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Converts the value of an array of 8-bit unsigned integers to its equivalent String representation encoded with base 64 digits.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToBase64String(array<Byte[]) Converts an array of 8-bit unsigned integers to its equivalent String representation encoded with base 64 digits.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToBase64String(array<Byte[], Int32, Int32) Converts a subset of an array of 8-bit unsigned integers to its equivalent String representation encoded with base 64 digits. Parameters specify the subset as an offset in the input array, and the number of elements in the array to convert.

Top

See Also

Reference