HandleInitializationContext 类

定义

表示 Handle 的初始化环境。Represents the initialization environment of a Handle.

public ref class HandleInitializationContext sealed
public sealed class HandleInitializationContext
type HandleInitializationContext = class
Public NotInheritable Class HandleInitializationContext
继承
HandleInitializationContext

方法

CreateAndInitializeHandle<THandle>()

创建并初始化类型参数指定的句柄类型的新实例。Creates and initializes a new instance of the handle type specified by the type parameter.

Equals(Object)

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

(继承自 Object)
GetExtension<T>()

检索类的扩展名。Retrieves the extension of the class.

GetHashCode()

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

(继承自 Object)
GetType()

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

(继承自 Object)
MemberwiseClone()

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

(继承自 Object)
ToString()

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

(继承自 Object)
UninitializeHandle(Handle)

取消对指定的 Handle 的初始化。Uninitializes the specified Handle.

适用于