The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Utils Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Contains utilities that the Visual Basic compiler uses.


Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public sealed class Utils

The Utils type exposes the following members.

Public methodStatic memberSupported in .NET for Windows Store appsCopyArrayInfrastructure. Used by the Visual Basic compiler as a helper for Redim.
Public methodSupported in .NET for Windows Store appsEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodStatic memberGetResourceStringInfrastructure. Retrieves and formats a localized resource string or error message.
Public methodSupported in .NET for Windows Store appsGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberMethodToStringInfrastructure. Returns a Visual Basic method signature.
Public methodStatic memberSetCultureInfoInfrastructure. Sets the culture of the current thread.
Public methodStatic memberThrowExceptionInfrastructure. Throws a localized Visual Basic exception.
Public methodSupported in .NET for Windows Store appsToStringReturns a string that represents the current object. (Inherited from Object.)

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Store apps

Supported in: Windows 8

.NET for Windows Phone apps

Supported in: Windows Phone 8.1

Windows Phone 8.1, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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