Share via


TypeConversion Class

 

Represents the utility methods that are used to convert static types.

Namespace:   Microsoft.WindowsAzure.Common.Internals
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Common.Internals.TypeConversion

Syntax

public static class TypeConversion
[ExtensionAttribute]
public ref class TypeConversion abstract sealed 
[<AbstractClass>]
[<Sealed>]
type TypeConversion = class end
<ExtensionAttribute>
Public NotInheritable Class TypeConversion

Methods

Name Description
BytesToString(Byte[])

Decodes all of the bytes in the specified byte array into a string.

From8601TimeSpan(String)

Convert a string from ISO 8601 format to a TimeSpan instance.

FromBase64String(String)

Converts the specified string of encoded binary data to an UTF8-encoded string.

To8601String(TimeSpan)

Convert a TimeSpan object into an 8601-formatted string.

ToBase64String(String)

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits.

TryParseUri(String)

Parses a string value into a URI representation.

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.

See Also

Microsoft.WindowsAzure.Common.Internals Namespace

Return to top