Utils 类

定义

包含 Visual Basic 编译器使用的实体。Contains utilities that the Visual Basic compiler uses.

此 API 支持产品基础结构,不能在代码中直接使用。

public ref class Utils sealed
public sealed class Utils
[Microsoft.VisualBasic.CompilerServices.StandardModule]
public sealed class Utils
type Utils = class
[<Microsoft.VisualBasic.CompilerServices.StandardModule>]
type Utils = class
Public NotInheritable Class Utils
Public Module Utils
继承
Utils
属性

注解

此类支持 Visual Basic 编译器,不应在代码中直接使用。This class supports the Visual Basic compiler and is not intended to be used directly from your code.

方法

CopyArray(Array, Array)

此 API 支持产品基础结构,不能在代码中直接使用。

由 Visual Basic 编译器用作 Redim 的帮助器。Used by the Visual Basic compiler as a helper for Redim.

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetResourceString(String, String[])

此 API 支持产品基础结构,不能在代码中直接使用。

检索本地化资源字符串或错误消息,并设置它们的格式。Retrieves and formats a localized resource string or error message.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
MethodToString(MethodBase)

此 API 支持产品基础结构,不能在代码中直接使用。

返回一个 Visual Basic 方法签名。Returns a Visual Basic method signature.

SetCultureInfo(CultureInfo)

此 API 支持产品基础结构,不能在代码中直接使用。

设置当前线程的区域性。Sets the culture of the current thread.

ThrowException(Int32)

此 API 支持产品基础结构,不能在代码中直接使用。

引发一个本地化的 Visual Basic 异常。Throws a localized Visual Basic exception.

ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于