1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="Pointer" FullName="System.Reflection.Pointer">
3 <TypeSignature Maintainer="auto" Language="C#" Value="public sealed class Pointer : System.Runtime.Serialization.ISerializable" />
4 <TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed beforefieldinit Pointer extends System.Object implements class System.Runtime.Serialization.ISerializable" />
6 <AssemblyName>mscorlib</AssemblyName>
7 <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
8 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
9 <AssemblyVersion>2.0.0.0</AssemblyVersion>
10 <AssemblyVersion>4.0.0.0</AssemblyVersion>
12 <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
14 <BaseTypeName>System.Object</BaseTypeName>
18 <InterfaceName>System.Runtime.Serialization.ISerializable</InterfaceName>
23 <AttributeName>System.CLSCompliant(false)</AttributeName>
26 <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
30 <remarks>To be added</remarks>
32 <attribution license="cc4" from="Microsoft" modified="false" />
33 <para>Provides a wrapper class for pointers.</para>
37 <Member MemberName="Box">
38 <MemberSignature Language="C#" Value="public static object Box (void* ptr, Type type);" />
39 <MemberSignature Language="ILAsm" Value=".method public static hidebysig object Box(void* ptr, class System.Type type) cil managed" />
40 <MemberType>Method</MemberType>
42 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
43 <AssemblyVersion>2.0.0.0</AssemblyVersion>
44 <AssemblyVersion>4.0.0.0</AssemblyVersion>
47 <ReturnType>System.Object</ReturnType>
50 <Parameter Name="ptr" Type="System.Void*" />
51 <Parameter Name="type" Type="System.Type" />
54 <remarks>To be added.</remarks>
56 <attribution license="cc4" from="Microsoft" modified="false" />
57 <para>Boxes the supplied unmanaged memory pointer and the type associated with that pointer into a managed <see cref="T:System.Reflection.Pointer" /> wrapper object. The value and the type are saved so they can be accessed from the native code during an invocation.</para>
60 <attribution license="cc4" from="Microsoft" modified="false" />
61 <para>A pointer object.</para>
64 <attribution license="cc4" from="Microsoft" modified="false" />The supplied unmanaged memory pointer. </param>
66 <attribution license="cc4" from="Microsoft" modified="false" />The type associated with the <paramref name="ptr" /> parameter. </param>
69 <Member MemberName="System.Runtime.Serialization.ISerializable.GetObjectData">
70 <MemberSignature Language="C#" Value="void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" />
71 <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Runtime.Serialization.ISerializable.GetObjectData(class System.Runtime.Serialization.SerializationInfo info, valuetype System.Runtime.Serialization.StreamingContext context) cil managed" />
72 <MemberType>Method</MemberType>
74 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
75 <AssemblyVersion>2.0.0.0</AssemblyVersion>
76 <AssemblyVersion>4.0.0.0</AssemblyVersion>
79 <ReturnType>System.Void</ReturnType>
82 <Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" />
83 <Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
86 <remarks>To be added.</remarks>
88 <attribution license="cc4" from="Microsoft" modified="false" />
89 <para>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the file name, fusion log, and additional exception information.</para>
92 <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown. </param>
93 <param name="context">
94 <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination. </param>
97 <Member MemberName="Unbox">
98 <MemberSignature Language="C#" Value="public static void* Unbox (object ptr);" />
99 <MemberSignature Language="ILAsm" Value=".method public static hidebysig void* Unbox(object ptr) cil managed" />
100 <MemberType>Method</MemberType>
102 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
103 <AssemblyVersion>2.0.0.0</AssemblyVersion>
104 <AssemblyVersion>4.0.0.0</AssemblyVersion>
107 <ReturnType>System.Void*</ReturnType>
110 <Parameter Name="ptr" Type="System.Object" />
113 <remarks>To be added</remarks>
115 <attribution license="cc4" from="Microsoft" modified="false" />
116 <para>Returns the stored pointer.</para>
119 <attribution license="cc4" from="Microsoft" modified="false" />
120 <para>This method returns void.</para>
123 <attribution license="cc4" from="Microsoft" modified="false" />The stored pointer. </param>