Pointer 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重要
此 API 不符合 CLS。
为指针提供包装类。
public ref class Pointer sealed : System::Runtime::Serialization::ISerializable[System.CLSCompliant(false)]
public sealed class Pointer : System.Runtime.Serialization.ISerializable[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class Pointer : System.Runtime.Serialization.ISerializable[<System.CLSCompliant(false)>]
type Pointer = class
    interface ISerializable[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type Pointer = class
    interface ISerializablePublic NotInheritable Class Pointer
Implements ISerializable- 继承
- 
				Pointer
- 属性
- 实现
方法
| Box(Void*, Type) | 将提供的非托管内存指针和与该指针关联的类型装箱到托管 Pointer 包装对象中。 该值和类型被保存以便可以在调用过程中从本机代码访问它们。 | 
| Equals(Object) | 返回一个值,该值指示当前 对象是否等于指定的 对象。 | 
| Equals(Object) | 确定指定对象是否等于当前对象。(继承自 Object) | 
| GetHashCode() | 返回当前 对象的哈希代码。 | 
| GetHashCode() | 作为默认哈希函数。(继承自 Object) | 
| GetType() | 获取当前实例的 Type。(继承自 Object) | 
| MemberwiseClone() | 创建当前 Object 的浅表副本。(继承自 Object) | 
| ToString() | 返回表示当前对象的字符串。(继承自 Object) | 
| Unbox(Object) | 返回存储的指针。 | 
显式接口实现
| ISerializable.GetObjectData(SerializationInfo, StreamingContext) | 用文件名、合成日志和其他异常信息设置 SerializationInfo 对象。 |