1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Runtime.InteropServices</name>
7 <member name="T:System.DataMisalignedException">
8 <summary>当在某个地址读取或写入一个单元的数据,但该地址的数据大小不是该数据单元的整数倍时引发的异常。此类不能被继承。</summary>
9 <filterpriority>2</filterpriority>
11 <member name="M:System.DataMisalignedException.#ctor">
12 <summary>初始化 <see cref="T:System.DataMisalignedException" /> 类的新实例。</summary>
14 <member name="M:System.DataMisalignedException.#ctor(System.String)">
15 <summary>使用指定的错误信息初始化 <see cref="T:System.DataMisalignedException" /> 类的新实例。</summary>
16 <param name="message">描述错误的 <see cref="T:System.String" /> 对象。<paramref name="message" /> 的内容被设计为人可理解的形式。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
18 <member name="M:System.DataMisalignedException.#ctor(System.String,System.Exception)">
19 <summary>用指定的错误信息和基础异常初始化 <see cref="T:System.DataMisalignedException" /> 类的新实例。</summary>
20 <param name="message">描述错误的 <see cref="T:System.String" /> 对象。<paramref name="message" /> 的内容被设计为人可理解的形式。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
21 <param name="innerException">导致当前 <see cref="T:System.DataMisalignedException" /> 的异常。如果 <paramref name="innerException" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
23 <member name="T:System.DllNotFoundException">
24 <summary>当未找到在 DLL 导入中指定的 DLL 时所引发的异常。</summary>
25 <filterpriority>2</filterpriority>
27 <member name="M:System.DllNotFoundException.#ctor">
28 <summary>使用默认属性初始化 <see cref="T:System.DllNotFoundException" /> 类的新实例。</summary>
30 <member name="M:System.DllNotFoundException.#ctor(System.String)">
31 <summary>使用指定的错误消息初始化 <see cref="T:System.DllNotFoundException" /> 类的新实例。</summary>
32 <param name="message">解释异常原因的错误信息。</param>
34 <member name="M:System.DllNotFoundException.#ctor(System.String,System.Exception)">
35 <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.DllNotFoundException" /> 类的新实例。</summary>
36 <param name="message">解释异常原因的错误信息。</param>
37 <param name="inner">导致当前异常的异常。如果 <paramref name="inner" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
39 <member name="T:System.Reflection.Missing">
40 <summary>表示缺少的 <see cref="T:System.Object" />。此类不能被继承。</summary>
42 <member name="F:System.Reflection.Missing.Value">
43 <summary>表示 <see cref="T:System.Reflection.Missing" /> 类的唯一实例。</summary>
45 <member name="T:System.Runtime.InteropServices.ArrayWithOffset">
46 <summary>在指定的数组中封装数组和偏移量。</summary>
48 <member name="M:System.Runtime.InteropServices.ArrayWithOffset.#ctor(System.Object,System.Int32)">
49 <summary>初始化 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 结构的新实例。</summary>
50 <param name="array">托管数组。</param>
51 <param name="offset">要通过平台调用传递的元素的偏移量(以字节为单位)。</param>
52 <exception cref="T:System.ArgumentException">数组大于 2 GB。</exception>
54 <member name="M:System.Runtime.InteropServices.ArrayWithOffset.Equals(System.Object)">
55 <summary>指示指定的对象是否与当前的 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象匹配。</summary>
56 <returns>如果对象与此 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 匹配,则为 true;否则,为 false。</returns>
57 <param name="obj">要与该实例进行比较的对象。</param>
59 <member name="M:System.Runtime.InteropServices.ArrayWithOffset.Equals(System.Runtime.InteropServices.ArrayWithOffset)">
60 <summary>指示指定的 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象是否与当前实例匹配。</summary>
61 <returns>如果指定的 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象与当前实例相匹配,则为 true;否则为 false。</returns>
62 <param name="obj">与此实例进行比较的 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。</param>
64 <member name="M:System.Runtime.InteropServices.ArrayWithOffset.GetArray">
65 <summary>返回此 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 引用的托管数组。</summary>
66 <returns>此实例引用的托管数组。</returns>
68 <member name="M:System.Runtime.InteropServices.ArrayWithOffset.GetHashCode">
69 <summary>返回此值类型的哈希代码。</summary>
70 <returns>此实例的哈希代码。</returns>
72 <member name="M:System.Runtime.InteropServices.ArrayWithOffset.GetOffset">
73 <summary>返回当构造此 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 时提供的偏移量。</summary>
74 <returns>此实例的偏移量。</returns>
76 <member name="M:System.Runtime.InteropServices.ArrayWithOffset.op_Equality(System.Runtime.InteropServices.ArrayWithOffset,System.Runtime.InteropServices.ArrayWithOffset)">
77 <summary>确定两个指定的 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象是否具有相同的值。</summary>
78 <returns>如果 <paramref name="a" /> 的值与 <paramref name="b" /> 的值相同,则为 true;否则为 false。</returns>
79 <param name="a">与 <paramref name="b" /> 参数进行比较的 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。</param>
80 <param name="b">与 <paramref name="a" /> 参数进行比较的 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。</param>
82 <member name="M:System.Runtime.InteropServices.ArrayWithOffset.op_Inequality(System.Runtime.InteropServices.ArrayWithOffset,System.Runtime.InteropServices.ArrayWithOffset)">
83 <summary>确定两个指定的 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象是否具有不同值。</summary>
84 <returns>如果 <paramref name="a" /> 的值与 <paramref name="b" /> 的值不同,则为 true;否则为 false。</returns>
85 <param name="a">与 <paramref name="b" /> 参数进行比较的 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。</param>
86 <param name="b">与 <paramref name="a" /> 参数进行比较的 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。</param>
88 <member name="T:System.Runtime.InteropServices.BestFitMappingAttribute">
89 <summary>控制是否将 Unicode 字符转换为最接近的匹配 ANSI 字符。</summary>
91 <member name="M:System.Runtime.InteropServices.BestFitMappingAttribute.#ctor(System.Boolean)">
92 <summary>初始化 <see cref="T:System.Runtime.InteropServices.BestFitMappingAttribute" /> 类的新实例,并将其设置为 <see cref="P:System.Runtime.InteropServices.BestFitMappingAttribute.BestFitMapping" /> 属性的值。</summary>
93 <param name="BestFitMapping">true 指示启用最佳映射;否则为 false。默认值为 true。</param>
95 <member name="P:System.Runtime.InteropServices.BestFitMappingAttribute.BestFitMapping">
96 <summary>获取将 Unicode 字符转换为 ANSI 字符时的最佳映射行为。</summary>
97 <returns>如果启用最佳映射则为 true;否则为 false。默认值为 true。</returns>
99 <member name="F:System.Runtime.InteropServices.BestFitMappingAttribute.ThrowOnUnmappableChar">
100 <summary>启用或禁用在遇到已被转换为 ANSI“?”字符的无法映射的 Unicode 字符时引发异常。</summary>
102 <member name="T:System.Runtime.InteropServices.BStrWrapper">
103 <summary>将 VT_BSTR 类型的数据从托管代码封送到非托管代码。此类不能被继承。</summary>
105 <member name="M:System.Runtime.InteropServices.BStrWrapper.#ctor(System.Object)">
106 <summary>用指定的 <see cref="T:System.Object" /> 对象初始化 <see cref="T:System.Runtime.InteropServices.BStrWrapper" /> 类的新实例。</summary>
107 <param name="value">要包装并作为 VT_BSTR 进行封送的对象。</param>
109 <member name="M:System.Runtime.InteropServices.BStrWrapper.#ctor(System.String)">
110 <summary>用指定的 <see cref="T:System.String" /> 对象初始化 <see cref="T:System.Runtime.InteropServices.BStrWrapper" /> 类的新实例。</summary>
111 <param name="value">要包装并作为 VT_BSTR 进行封送的对象。</param>
113 <member name="P:System.Runtime.InteropServices.BStrWrapper.WrappedObject">
114 <summary>获取将作为 VT_BSTR 类型进行封送的包装的 <see cref="T:System.String" /> 对象。</summary>
115 <returns>由 <see cref="T:System.Runtime.InteropServices.BStrWrapper" /> 包装的对象。</returns>
117 <member name="T:System.Runtime.InteropServices.CallingConvention">
118 <summary>指定调用在非托管代码中实现的方法所需的调用约定。</summary>
120 <member name="F:System.Runtime.InteropServices.CallingConvention.Cdecl">
121 <summary>调用方清理堆栈。这使您能够调用具有 varargs 的函数(如 Printf),使之可用于接受可变数目的参数的方法。</summary>
123 <member name="F:System.Runtime.InteropServices.CallingConvention.StdCall">
124 <summary>被调用方清理堆栈。这是使用平台 invoke 调用非托管函数的默认约定。</summary>
126 <member name="F:System.Runtime.InteropServices.CallingConvention.ThisCall">
127 <summary>第一个参数是 this 指针,它存储在寄存器 ECX 中。其他参数被推送到堆栈上。此调用约定用于对从非托管 DLL 导出的类调用方法。</summary>
129 <member name="F:System.Runtime.InteropServices.CallingConvention.Winapi">
130 <summary>此成员实际上不是调用约定,而是使用了默认平台调用约定。例如,在 Windows 上默认为 <see cref="F:System.Runtime.InteropServices.CallingConvention.StdCall" />,在 Windows CE.NET 上默认为 <see cref="F:System.Runtime.InteropServices.CallingConvention.Cdecl" />。</summary>
132 <member name="T:System.Runtime.InteropServices.ClassInterfaceAttribute">
133 <summary>为公开给 COM 的类指定要生成的类接口的类型(如果有接口生成)。</summary>
135 <member name="M:System.Runtime.InteropServices.ClassInterfaceAttribute.#ctor(System.Int16)">
136 <summary>用指定的 <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> 枚举值初始化 <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" /> 类的新实例。</summary>
137 <param name="classInterfaceType">描述为类生成的接口的类型。</param>
139 <member name="M:System.Runtime.InteropServices.ClassInterfaceAttribute.#ctor(System.Runtime.InteropServices.ClassInterfaceType)">
140 <summary>使用指定的 <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> 枚举成员初始化 <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" /> 类的新实例。</summary>
141 <param name="classInterfaceType">
142 <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> 值之一,描述为类生成的接口的类型。</param>
144 <member name="P:System.Runtime.InteropServices.ClassInterfaceAttribute.Value">
145 <summary>获取 <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> 值,该值描述应该为该类生成哪种类型的接口。</summary>
146 <returns>描述应该为该类生成哪种类型的接口的 <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> 值。</returns>
148 <member name="T:System.Runtime.InteropServices.ClassInterfaceType">
149 <summary>标识为某个类生成的类接口的类型。</summary>
151 <member name="F:System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch">
152 <summary>指示该类只支持 COM 客户端的后期绑定。在请求时,该类的 dispinterface 将自动向 COM 客户端公开。Tlbexp.exe(类型库导出程序) 生成的类型库不包含 dispinterface 的类型信息,以防止客户端缓存接口的 DISPID。由于客户端只能后期绑定到接口,因此 dispinterface 不会出现 <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" /> 中所述的版本控制问题。</summary>
154 <member name="F:System.Runtime.InteropServices.ClassInterfaceType.AutoDual">
155 <summary>指示自动为类生成双重类接口并向 COM 公开。为该类接口生成类型信息并在类型库中发布。由于 <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" /> 中描述的版本控制方面的限制,极力建议不要使用 AutoDual。</summary>
157 <member name="F:System.Runtime.InteropServices.ClassInterfaceType.None">
158 <summary>指示不为类生成类接口。如果未显式实现任何接口,则该类将只能通过 IDispatch 接口提供后期绑定访问。这是 <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" /> 的推荐设置。要通过由类显式实现的接口来公开功能,唯一的方法是使用 ClassInterfaceType.None。</summary>
160 <member name="T:System.Runtime.InteropServices.CoClassAttribute">
161 <summary>指定从类型库中导入的 coclass 的类标识符。</summary>
163 <member name="M:System.Runtime.InteropServices.CoClassAttribute.#ctor(System.Type)">
164 <summary>用原始 coclass 的类标识符初始化 <see cref="T:System.Runtime.InteropServices.CoClassAttribute" /> 的新实例。</summary>
165 <param name="coClass">一个 <see cref="T:System.Type" />,它包含原始 coclass 的类标识符。</param>
167 <member name="P:System.Runtime.InteropServices.CoClassAttribute.CoClass">
168 <summary>获取原始 coclass 的类标识符。</summary>
169 <returns>一个 <see cref="T:System.Type" />,它包含原始 coclass 的类标识符。</returns>
171 <member name="T:System.Runtime.InteropServices.ComAwareEventInfo">
172 <summary>允许对事件处理程序进行后期绑定注册。</summary>
174 <member name="M:System.Runtime.InteropServices.ComAwareEventInfo.#ctor(System.Type,System.String)">
175 <summary>使用指定类型和该类型的事件名称来初始化 <see cref="T:System.Runtime.InteropServices.ComAwareEventInfo" /> 类的新实例。</summary>
176 <param name="type">对象的类型。</param>
177 <param name="eventName">有关 <paramref name="type" /> 的事件的名称。</param>
179 <member name="M:System.Runtime.InteropServices.ComAwareEventInfo.AddEventHandler(System.Object,System.Delegate)">
180 <summary>将事件处理程序附加到 COM 对象。</summary>
181 <param name="target">事件委托应绑定到的目标对象。</param>
182 <param name="handler">事件委托。</param>
184 <member name="P:System.Runtime.InteropServices.ComAwareEventInfo.Attributes">
185 <summary>获取此事件的属性。</summary>
186 <returns>此事件的只读特性。</returns>
188 <member name="P:System.Runtime.InteropServices.ComAwareEventInfo.DeclaringType">
189 <summary>获取声明该成员的类。</summary>
190 <returns>声明该成员的类的 <see cref="T:System.Type" /> 对象。</returns>
192 <member name="P:System.Runtime.InteropServices.ComAwareEventInfo.Name">
193 <summary>获取当前成员的名称。</summary>
194 <returns>此成员的名称。</returns>
196 <member name="M:System.Runtime.InteropServices.ComAwareEventInfo.RemoveEventHandler(System.Object,System.Delegate)">
197 <summary>从 COM 对象分离事件处理程序。</summary>
198 <param name="target">事件委托所绑定到的目标对象。</param>
199 <param name="handler">事件委托。</param>
200 <exception cref="T:System.InvalidOperationException">该事件没有公共的 remove 访问器。</exception>
201 <exception cref="T:System.ArgumentException">传入的处理程序无法使用。</exception>
202 <exception cref="T:System.Reflection.TargetException">在 .NET for Windows Store 应用程序 或 可移植类库 中,请改为捕获 <see cref="T:System.Exception" />。<paramref name="target" /> 参数为 null 并且该事件不是静态的。- 或 -目标上没有声明 <see cref="T:System.Reflection.EventInfo" />。</exception>
203 <exception cref="T:System.MethodAccessException">在 .NET for Windows Store 应用程序 或 可移植类库 中,请改为捕获基类异常 <see cref="T:System.MemberAccessException" />。调用方无权访问该成员。</exception>
205 <member name="T:System.Runtime.InteropServices.ComDefaultInterfaceAttribute">
206 <summary>指定要向 COM 公开的默认接口。此类不能被继承。</summary>
208 <member name="M:System.Runtime.InteropServices.ComDefaultInterfaceAttribute.#ctor(System.Type)">
209 <summary>以指定的 <see cref="T:System.Type" /> 对象作为向 COM 公开的默认接口初始化 <see cref="T:System.Runtime.InteropServices.ComDefaultInterfaceAttribute" /> 类的新实例。</summary>
210 <param name="defaultInterface">一个 <see cref="T:System.Type" /> 值,指示要向 COM 公开的默认接口。</param>
212 <member name="P:System.Runtime.InteropServices.ComDefaultInterfaceAttribute.Value">
213 <summary>获取 <see cref="T:System.Type" /> 对象,该对象指定要向 COM 公开的默认接口。</summary>
215 <see cref="T:System.Type" /> 对象,该对象指定要向 COM 公开的默认接口。</returns>
217 <member name="T:System.Runtime.InteropServices.ComEventInterfaceAttribute">
218 <summary>标识源接口和实现事件接口(从 COM 类型库导入 coclass 时生成)的方法的类。</summary>
220 <member name="M:System.Runtime.InteropServices.ComEventInterfaceAttribute.#ctor(System.Type,System.Type)">
221 <summary>用源接口和事件提供程序类初始化 <see cref="T:System.Runtime.InteropServices.ComEventInterfaceAttribute" /> 类的新实例。</summary>
222 <param name="SourceInterface">一个 <see cref="T:System.Type" />,它包含类型库中的原始源接口。COM 使用此接口回调到托管类。</param>
223 <param name="EventProvider">一个 <see cref="T:System.Type" />,它包含实现事件接口的方法的类。</param>
225 <member name="P:System.Runtime.InteropServices.ComEventInterfaceAttribute.EventProvider">
226 <summary>获取实现事件接口的方法的类。</summary>
227 <returns>一个 <see cref="T:System.Type" />,它包含实现事件接口的方法的类。</returns>
229 <member name="P:System.Runtime.InteropServices.ComEventInterfaceAttribute.SourceInterface">
230 <summary>从类型库获取原始源接口。</summary>
231 <returns>一个包含源接口的 <see cref="T:System.Type" />。</returns>
233 <member name="T:System.Runtime.InteropServices.ComEventsHelper">
234 <summary>提供允许将处理事件的 .NET Framework 委托添加到 COM 对象和从 COM 对象中删除这些委托的方法。</summary>
236 <member name="M:System.Runtime.InteropServices.ComEventsHelper.Combine(System.Object,System.Guid,System.Int32,System.Delegate)">
237 <summary>将委托添加到源自 COM 对象的事件的调用列表。</summary>
238 <param name="rcw">触发事件的 COM 对象,调用方希望响应这些事件。</param>
239 <param name="iid">COM 对象用来触发事件的源接口的标识符。</param>
240 <param name="dispid">源接口上的方法的调度标识符。</param>
241 <param name="d">要在激发 COM 事件时调用的委托。</param>
243 <member name="M:System.Runtime.InteropServices.ComEventsHelper.Remove(System.Object,System.Guid,System.Int32,System.Delegate)">
244 <summary>从源自 COM 对象的事件的调用列表中移除委托。</summary>
245 <returns>已从调用列表中移除的委托。</returns>
246 <param name="rcw">委托附加到的 COM 对象。</param>
247 <param name="iid">COM 对象用来触发事件的源接口的标识符。</param>
248 <param name="dispid">源接口上的方法的调度标识符。</param>
249 <param name="d">要从调用列表中移除的委托。</param>
251 <member name="T:System.Runtime.InteropServices.COMException">
252 <summary>当从 COM 方法调用返回无法识别的 HRESULT 时引发的异常。</summary>
254 <member name="M:System.Runtime.InteropServices.COMException.#ctor">
255 <summary>使用默认值初始化 <see cref="T:System.Runtime.InteropServices.COMException" /> 类的新实例。</summary>
257 <member name="M:System.Runtime.InteropServices.COMException.#ctor(System.String)">
258 <summary>用指定的消息初始化 <see cref="T:System.Runtime.InteropServices.COMException" /> 类的新实例。</summary>
259 <param name="message">指示异常原因的消息。</param>
261 <member name="M:System.Runtime.InteropServices.COMException.#ctor(System.String,System.Exception)">
262 <summary>使用指定的错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Runtime.InteropServices.COMException" /> 类的新实例。</summary>
263 <param name="message">解释异常原因的错误信息。</param>
264 <param name="inner">导致当前异常的异常。如果 <paramref name="inner" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
266 <member name="M:System.Runtime.InteropServices.COMException.#ctor(System.String,System.Int32)">
267 <summary>使用指定的消息和错误代码初始化 <see cref="T:System.Runtime.InteropServices.COMException" /> 类的新实例。</summary>
268 <param name="message">指示所发生异常的原因的消息。</param>
269 <param name="errorCode">与该异常关联的错误代码 (HRESULT) 值。</param>
271 <member name="T:System.Runtime.InteropServices.ComImportAttribute">
272 <summary>指示该属性化类型是以前在 COM 中定义的。</summary>
274 <member name="M:System.Runtime.InteropServices.ComImportAttribute.#ctor">
275 <summary>初始化 <see cref="T:System.Runtime.InteropServices.ComImportAttribute" /> 的新实例。</summary>
277 <member name="T:System.Runtime.InteropServices.ComInterfaceType">
278 <summary>标识如何向 COM 公开接口。</summary>
280 <member name="F:System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual">
281 <summary>指示接口将作为双重接口向 COM 公开,这将支持早期绑定和后期绑定。<see cref="F:System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual" /> 为默认值。</summary>
283 <member name="F:System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIDispatch">
284 <summary>指示接口将作为dispinterface向 COM 公开,这将仅启用后期绑定。</summary>
286 <member name="F:System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIInspectable">
287 <summary>指示作为 Windows 运行时 接口向 COM 公开的接口。</summary>
289 <member name="F:System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown">
290 <summary>指示接口将作为 IUnknown 派生的接口向 COM 公开,这将仅启用早期绑定。</summary>
292 <member name="T:System.Runtime.InteropServices.ComMemberType">
293 <summary>描述 COM 成员的类型。</summary>
295 <member name="F:System.Runtime.InteropServices.ComMemberType.Method">
296 <summary>该成员是一个一般方法。</summary>
298 <member name="F:System.Runtime.InteropServices.ComMemberType.PropGet">
299 <summary>该成员获取属性。</summary>
301 <member name="F:System.Runtime.InteropServices.ComMemberType.PropSet">
302 <summary>该成员设置属性。</summary>
304 <member name="T:System.Runtime.InteropServices.ComSourceInterfacesAttribute">
305 <summary>为属性化类标识公开为 COM 事件源的一组接口。</summary>
307 <member name="M:System.Runtime.InteropServices.ComSourceInterfacesAttribute.#ctor(System.String)">
308 <summary>使用事件源接口的名称初始化 <see cref="T:System.Runtime.InteropServices.ComSourceInterfacesAttribute" /> 类的新实例。</summary>
309 <param name="sourceInterfaces">事件源接口的完全限定名列表,名称之间用 null 分隔。</param>
311 <member name="M:System.Runtime.InteropServices.ComSourceInterfacesAttribute.#ctor(System.Type)">
312 <summary>使用要用作源接口的类型初始化 <see cref="T:System.Runtime.InteropServices.ComSourceInterfacesAttribute" /> 类的新实例。</summary>
313 <param name="sourceInterface">源接口的 <see cref="T:System.Type" />。</param>
315 <member name="M:System.Runtime.InteropServices.ComSourceInterfacesAttribute.#ctor(System.Type,System.Type)">
316 <summary>在以要使用的类型作为源接口的情况下初始化 <see cref="T:System.Runtime.InteropServices.ComSourceInterfacesAttribute" /> 类的新实例。</summary>
317 <param name="sourceInterface1">默认源接口的 <see cref="T:System.Type" />。</param>
318 <param name="sourceInterface2">源接口的 <see cref="T:System.Type" />。</param>
320 <member name="M:System.Runtime.InteropServices.ComSourceInterfacesAttribute.#ctor(System.Type,System.Type,System.Type)">
321 <summary>在以要使用的类型作为源接口的情况下初始化 ComSourceInterfacesAttribute 类的新实例。</summary>
322 <param name="sourceInterface1">默认源接口的 <see cref="T:System.Type" />。</param>
323 <param name="sourceInterface2">源接口的 <see cref="T:System.Type" />。</param>
324 <param name="sourceInterface3">源接口的 <see cref="T:System.Type" />。</param>
326 <member name="M:System.Runtime.InteropServices.ComSourceInterfacesAttribute.#ctor(System.Type,System.Type,System.Type,System.Type)">
327 <summary>在以要使用的类型作为源接口的情况下初始化 <see cref="T:System.Runtime.InteropServices.ComSourceInterfacesAttribute" /> 类的新实例。</summary>
328 <param name="sourceInterface1">默认源接口的 <see cref="T:System.Type" />。</param>
329 <param name="sourceInterface2">源接口的 <see cref="T:System.Type" />。</param>
330 <param name="sourceInterface3">源接口的 <see cref="T:System.Type" />。</param>
331 <param name="sourceInterface4">源接口的 <see cref="T:System.Type" />。</param>
333 <member name="P:System.Runtime.InteropServices.ComSourceInterfacesAttribute.Value">
334 <summary>获取事件源接口的完全限定名。</summary>
335 <returns>事件源接口的完全限定名。</returns>
337 <member name="T:System.Runtime.InteropServices.CurrencyWrapper">
338 <summary>对封送拆收器应该将其作为 VT_CY 封送的对象进行包装。</summary>
340 <member name="M:System.Runtime.InteropServices.CurrencyWrapper.#ctor(System.Decimal)">
341 <summary>用要包装并作为 VT_CY 类型进行封送的 Decimal 来初始化 <see cref="T:System.Runtime.InteropServices.CurrencyWrapper" /> 类的新实例。</summary>
342 <param name="obj">要包装并作为 VT_CY 进行封送的 Decimal。</param>
344 <member name="M:System.Runtime.InteropServices.CurrencyWrapper.#ctor(System.Object)">
345 <summary>用包含要包装并作为 VT_CY 类型进行封送的 Decimal 的对象来初始化 <see cref="T:System.Runtime.InteropServices.CurrencyWrapper" /> 类的新实例。</summary>
346 <param name="obj">包含要包装并作为 VT_CY 进行封送的 Decimal 的对象。</param>
347 <exception cref="T:System.ArgumentException">
348 <paramref name="obj" /> 参数不是 <see cref="T:System.Decimal" /> 类型。</exception>
350 <member name="P:System.Runtime.InteropServices.CurrencyWrapper.WrappedObject">
351 <summary>获取将作为 VT_CY 类型进行封送的包装对象。</summary>
352 <returns>将作为 VT_CY 类型进行封送的包装对象。</returns>
354 <member name="T:System.Runtime.InteropServices.CustomQueryInterfaceMode">
355 <summary>指示 <see cref="M:System.Runtime.InteropServices.Marshal.GetComInterfaceForObject(System.Object,System.Type,System.Runtime.InteropServices.CustomQueryInterfaceMode)" /> 方法的 IUnknown::QueryInterface 调用是否可以使用 <see cref="T:System.Runtime.InteropServices.ICustomQueryInterface" /> 接口。</summary>
357 <member name="F:System.Runtime.InteropServices.CustomQueryInterfaceMode.Allow">
358 <summary>IUnknown::QueryInterface 方法调用可以使用 <see cref="T:System.Runtime.InteropServices.ICustomQueryInterface" /> 接口。使用此值时,<see cref="M:System.Runtime.InteropServices.Marshal.GetComInterfaceForObject(System.Object,System.Type,System.Runtime.InteropServices.CustomQueryInterfaceMode)" /> 方法重载的功能与 <see cref="M:System.Runtime.InteropServices.Marshal.GetComInterfaceForObject(System.Object,System.Type)" /> 重载的功能类似。</summary>
360 <member name="F:System.Runtime.InteropServices.CustomQueryInterfaceMode.Ignore">
361 <summary>IUnknown::QueryInterface 方法调用应忽略 <see cref="T:System.Runtime.InteropServices.ICustomQueryInterface" /> 接口。</summary>
363 <member name="T:System.Runtime.InteropServices.CustomQueryInterfaceResult">
364 <summary>提供 <see cref="M:System.Runtime.InteropServices.ICustomQueryInterface.GetInterface(System.Guid@,System.IntPtr@)" /> 方法的返回值。</summary>
366 <member name="F:System.Runtime.InteropServices.CustomQueryInterfaceResult.Failed">
367 <summary>特定接口 ID 的接口不可用。在这种情况下,返回的接口为 null。E_NOINTERFACE 将返回给 IUnknown::QueryInterface 的调用方。</summary>
369 <member name="F:System.Runtime.InteropServices.CustomQueryInterfaceResult.Handled">
370 <summary>从 <see cref="M:System.Runtime.InteropServices.ICustomQueryInterface.GetInterface(System.Guid@,System.IntPtr@)" /> 方法返回的接口指针可用作 IUnknown::QueryInterface 的结果。</summary>
372 <member name="F:System.Runtime.InteropServices.CustomQueryInterfaceResult.NotHandled">
373 <summary>未使用自定义的 QueryInterface。相反,应该使用 IUnknown::QueryInterface 的默认实现。</summary>
375 <member name="T:System.Runtime.InteropServices.DefaultCharSetAttribute">
376 <summary>指定 <see cref="T:System.Runtime.InteropServices.CharSet" /> 枚举的值。此类不能被继承。</summary>
378 <member name="M:System.Runtime.InteropServices.DefaultCharSetAttribute.#ctor(System.Runtime.InteropServices.CharSet)">
379 <summary>使用指定的 <see cref="T:System.Runtime.InteropServices.CharSet" /> 值初始化 <see cref="T:System.Runtime.InteropServices.DefaultCharSetAttribute" /> 类的新实例。</summary>
380 <param name="charSet">
381 <see cref="T:System.Runtime.InteropServices.CharSet" /> 值之一。</param>
383 <member name="P:System.Runtime.InteropServices.DefaultCharSetAttribute.CharSet">
384 <summary>获取对 <see cref="T:System.Runtime.InteropServices.DllImportAttribute" /> 的任何调用的 <see cref="T:System.Runtime.InteropServices.CharSet" /> 的默认值。</summary>
385 <returns>对 <see cref="T:System.Runtime.InteropServices.DllImportAttribute" /> 的任何调用的 <see cref="T:System.Runtime.InteropServices.CharSet" /> 的默认值。</returns>
387 <member name="T:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute">
388 <summary>指定用于搜索提供平台调用功能的 DLL 的路径。</summary>
390 <member name="M:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute.#ctor(System.Runtime.InteropServices.DllImportSearchPath)">
391 <summary>初始化 <see cref="T:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute" /> 类的新实例,该实例指定用于当搜索目标平台调用时的路径。</summary>
392 <param name="paths">指定平台调用期间 LoadLibraryEx 函数搜索路径的枚举值的按位组合。</param>
394 <member name="P:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute.Paths">
395 <summary>获取指定路径的枚举值的按位组合,路径在平台调用期间由 LoadLibraryEx 函数搜索。</summary>
396 <returns>指定平台调用搜索路径的枚举值的按位组合。</returns>
398 <member name="T:System.Runtime.InteropServices.DefaultParameterValueAttribute">
399 <summary>当从支持默认参数的语言执行调用时,设置参数的默认值。此类不能被继承。</summary>
401 <member name="M:System.Runtime.InteropServices.DefaultParameterValueAttribute.#ctor(System.Object)">
402 <summary>用参数的默认值初始化 <see cref="T:System.Runtime.InteropServices.DefaultParameterValueAttribute" /> 类的新实例。</summary>
403 <param name="value">表示参数默认值的对象。</param>
405 <member name="P:System.Runtime.InteropServices.DefaultParameterValueAttribute.Value">
406 <summary>获取参数的默认值。</summary>
407 <returns>表示参数默认值的对象。</returns>
409 <member name="T:System.Runtime.InteropServices.DispatchWrapper">
410 <summary>对封送拆收器应该将其作为 VT_DISPATCH 封送的对象进行包装。</summary>
412 <member name="M:System.Runtime.InteropServices.DispatchWrapper.#ctor(System.Object)">
413 <summary>使用正在包装的对象初始化 <see cref="T:System.Runtime.InteropServices.DispatchWrapper" /> 类的新实例。</summary>
414 <param name="obj">要包装并转换成 <see cref="F:System.Runtime.InteropServices.VarEnum.VT_DISPATCH" /> 的对象。</param>
415 <exception cref="T:System.ArgumentException">
416 <paramref name="obj" /> 不是类或数组。- 或 -<paramref name="obj" /> 不支持 IDispatch。</exception>
417 <exception cref="T:System.InvalidOperationException">
418 <paramref name="obj" /> 参数是用被传递了一个 false 值的 <see cref="T:System.Runtime.InteropServices.ComVisibleAttribute" /> 特性标记的。- 或 -<paramref name="obj" /> 参数继承自一个类型,该类型是用一个被传递了 false 值的 <see cref="T:System.Runtime.InteropServices.ComVisibleAttribute" /> 特性标记的。</exception>
420 <member name="P:System.Runtime.InteropServices.DispatchWrapper.WrappedObject">
421 <summary>获取由 <see cref="T:System.Runtime.InteropServices.DispatchWrapper" /> 包装的对象。</summary>
422 <returns>由 <see cref="T:System.Runtime.InteropServices.DispatchWrapper" /> 包装的对象。</returns>
424 <member name="T:System.Runtime.InteropServices.DispIdAttribute">
425 <summary>指定方法、字段或属性的 COM 调度标识符 (DISPID)。</summary>
427 <member name="M:System.Runtime.InteropServices.DispIdAttribute.#ctor(System.Int32)">
428 <summary>用指定的 DISPID 初始化 DispIdAttribute 类的新实例。</summary>
429 <param name="dispId">成员的 DISPID。</param>
431 <member name="P:System.Runtime.InteropServices.DispIdAttribute.Value">
432 <summary>获取成员的 DISPID。</summary>
433 <returns>成员的 DISPID。</returns>
435 <member name="T:System.Runtime.InteropServices.DllImportAttribute">
436 <summary>指示该属性化方法由非托管动态链接库 (DLL) 作为静态入口点公开。</summary>
438 <member name="M:System.Runtime.InteropServices.DllImportAttribute.#ctor(System.String)">
439 <summary>使用包含要导入的方法的 DLL 的名称初始化 <see cref="T:System.Runtime.InteropServices.DllImportAttribute" /> 类的新实例。</summary>
440 <param name="dllName">包含非托管方法的 DLL 的名称。如果 DLL 包含在某个程序集中,则可以包含程序集显示名称。</param>
442 <member name="F:System.Runtime.InteropServices.DllImportAttribute.BestFitMapping">
443 <summary>将 Unicode 字符转换为 ANSI 字符时,启用或禁用最佳映射行为。</summary>
445 <member name="F:System.Runtime.InteropServices.DllImportAttribute.CallingConvention">
446 <summary>指示入口点的调用约定。</summary>
448 <member name="F:System.Runtime.InteropServices.DllImportAttribute.CharSet">
449 <summary>指示如何向方法封送字符串参数,并控制名称重整。</summary>
451 <member name="F:System.Runtime.InteropServices.DllImportAttribute.EntryPoint">
452 <summary>指示要调用的 DLL 入口点的名称或序号。</summary>
454 <member name="F:System.Runtime.InteropServices.DllImportAttribute.ExactSpelling">
455 <summary>控制 <see cref="F:System.Runtime.InteropServices.DllImportAttribute.CharSet" /> 字段是否使公共语言运行时在非托管 DLL 中搜索入口点名称,而不使用指定的入口点名称。</summary>
457 <member name="F:System.Runtime.InteropServices.DllImportAttribute.PreserveSig">
458 <summary>指示是否直接转换具有 HRESULT 或 retval 返回值的非托管方法,或是否自动将 HRESULT 或 retval 返回值转换为异常。</summary>
460 <member name="F:System.Runtime.InteropServices.DllImportAttribute.SetLastError">
461 <summary>指示被调用方在从属性化方法返回之前是否调用 SetLastError Win32 API 函数。</summary>
463 <member name="F:System.Runtime.InteropServices.DllImportAttribute.ThrowOnUnmappableChar">
464 <summary>启用或禁用在遇到已被转换为 ANSI“?”字符的无法映射的 Unicode 字符时引发异常。</summary>
466 <member name="P:System.Runtime.InteropServices.DllImportAttribute.Value">
467 <summary>获取包含入口点的 DLL 文件的名称。</summary>
468 <returns>包含入口点的 DLL 文件的名称。</returns>
470 <member name="T:System.Runtime.InteropServices.DllImportSearchPath">
471 <summary>指定用于搜索提供平台调用功能的 DLL 的路径。</summary>
473 <member name="F:System.Runtime.InteropServices.DllImportSearchPath.ApplicationDirectory">
474 <summary>在 DLL 的搜索路径中包含了应用程序目录。</summary>
476 <member name="F:System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory">
477 <summary>当搜索程序集依赖项时,请包括包含程序集本身的目录并首先查找该目录。在路径传递到 Win32 LoadLibraryEx 函数之前,通过 .NET Framework 使用此值。</summary>
479 <member name="F:System.Runtime.InteropServices.DllImportSearchPath.LegacyBehavior">
480 <summary>搜索应用程序目录,然后调用有 LOAD_WITH_ALTERED_SEARCH_PATH 标志的 Win32 LoadLibraryEx 函数。如果指定任何其他值,则忽略该值。不支持 <see cref="T:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute" /> 特性使用此值并忽略其他值的操作系统。</summary>
482 <member name="F:System.Runtime.InteropServices.DllImportSearchPath.SafeDirectories">
483 <summary>在 DLL 的搜索路径中包含应用程序目录,%WinDir%\System32 目录和用户目录。</summary>
485 <member name="F:System.Runtime.InteropServices.DllImportSearchPath.System32">
486 <summary>在 DLL 的搜索路径中包含了 %WinDir%\System32 目录。</summary>
488 <member name="F:System.Runtime.InteropServices.DllImportSearchPath.UseDllDirectoryForDependencies">
489 <summary>搜索在搜索其他文件夹之前 DLL 所在文件夹中的依赖项。</summary>
491 <member name="F:System.Runtime.InteropServices.DllImportSearchPath.UserDirectories">
492 <summary>通过使用 Win32 AddDllDirectory 函数,包含了显式添加了过程搜索路径的所有路径。</summary>
494 <member name="T:System.Runtime.InteropServices.ErrorWrapper">
495 <summary>对封送拆收器应该将其作为 VT_ERROR 封送的对象进行包装。</summary>
497 <member name="M:System.Runtime.InteropServices.ErrorWrapper.#ctor(System.Exception)">
498 <summary>使用与所提供的异常相对应的 HRESULT 初始化 <see cref="T:System.Runtime.InteropServices.ErrorWrapper" /> 类的新实例。</summary>
499 <param name="e">要转换为错误代码的异常。</param>
501 <member name="M:System.Runtime.InteropServices.ErrorWrapper.#ctor(System.Int32)">
502 <summary>使用错误的 HRESULT 初始化 <see cref="T:System.Runtime.InteropServices.ErrorWrapper" /> 类的新实例。</summary>
503 <param name="errorCode">错误的 HRESULT。</param>
505 <member name="M:System.Runtime.InteropServices.ErrorWrapper.#ctor(System.Object)">
506 <summary>用包含错误的 HRESULT 的对象初始化 <see cref="T:System.Runtime.InteropServices.ErrorWrapper" /> 类的新实例。</summary>
507 <param name="errorCode">包含错误的 HRESULT 的对象。</param>
508 <exception cref="T:System.ArgumentException">
509 <paramref name="errorCode" /> 参数不是 <see cref="T:System.Int32" /> 类型。</exception>
511 <member name="P:System.Runtime.InteropServices.ErrorWrapper.ErrorCode">
512 <summary>获取包装的错误代码。</summary>
513 <returns>错误的 HRESULT。</returns>
515 <member name="T:System.Runtime.InteropServices.GCHandle">
516 <summary>提供用于从非托管内存访问托管对象的方法。</summary>
518 <member name="M:System.Runtime.InteropServices.GCHandle.AddrOfPinnedObject">
519 <summary>在 <see cref="F:System.Runtime.InteropServices.GCHandleType.Pinned" /> 句柄中检索对象的地址。</summary>
521 <see cref="T:System.IntPtr" /> 形式的固定对象的地址。</returns>
522 <exception cref="T:System.InvalidOperationException">The handle is any type other than <see cref="F:System.Runtime.InteropServices.GCHandleType.Pinned" />. </exception>
524 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
527 <member name="M:System.Runtime.InteropServices.GCHandle.Alloc(System.Object)">
528 <summary>为指定的对象分配 <see cref="F:System.Runtime.InteropServices.GCHandleType.Normal" /> 句柄。</summary>
529 <returns>一个新的 <see cref="T:System.Runtime.InteropServices.GCHandle" />,它保护对象不被垃圾回收。当不再需要 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 时,必须通过 <see cref="M:System.Runtime.InteropServices.GCHandle.Free" /> 将其释放。</returns>
530 <param name="value">使用 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 的对象。</param>
531 <exception cref="T:System.ArgumentException">An instance with nonprimitive (non-blittable) members cannot be pinned. </exception>
533 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
536 <member name="M:System.Runtime.InteropServices.GCHandle.Alloc(System.Object,System.Runtime.InteropServices.GCHandleType)">
537 <summary>为指定的对象分配指定类型的句柄。</summary>
538 <returns>指定的类型的新 <see cref="T:System.Runtime.InteropServices.GCHandle" />。当不再需要 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 时,必须通过 <see cref="M:System.Runtime.InteropServices.GCHandle.Free" /> 将其释放。</returns>
539 <param name="value">使用 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 的对象。</param>
541 <see cref="T:System.Runtime.InteropServices.GCHandleType" /> 值之一,指示要创建的 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 的类型。</param>
542 <exception cref="T:System.ArgumentException">An instance with nonprimitive (non-blittable) members cannot be pinned. </exception>
544 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
547 <member name="M:System.Runtime.InteropServices.GCHandle.Equals(System.Object)">
548 <summary>确定指定的 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象是否等于当前的 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象。</summary>
549 <returns>如果指定的 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象等于当前的 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象,则为 true;否则为 false。</returns>
550 <param name="o">将与当前 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象进行比较的 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象。</param>
552 <member name="M:System.Runtime.InteropServices.GCHandle.Free">
553 <summary>释放 <see cref="T:System.Runtime.InteropServices.GCHandle" />。</summary>
554 <exception cref="T:System.InvalidOperationException">The handle was freed or never initialized. </exception>
556 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
559 <member name="M:System.Runtime.InteropServices.GCHandle.FromIntPtr(System.IntPtr)">
560 <summary>返回从某个托管对象的句柄创建的新 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象。</summary>
561 <returns>对应于值参数的新的 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象。</returns>
562 <param name="value">某个托管对象的 <see cref="T:System.IntPtr" /> 句柄,将从该句柄创建 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象。</param>
563 <exception cref="T:System.InvalidOperationException">The value of the <paramref name="value" /> parameter is <see cref="F:System.IntPtr.Zero" />.</exception>
565 <member name="M:System.Runtime.InteropServices.GCHandle.GetHashCode">
566 <summary>返回当前 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象的一个标识符。</summary>
567 <returns>当前 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象的一个标识符。</returns>
569 <member name="P:System.Runtime.InteropServices.GCHandle.IsAllocated">
570 <summary>获取一个值,该值指示是否分配了句柄。</summary>
571 <returns>如果分配了句柄,则为 true;否则为 false。</returns>
573 <member name="M:System.Runtime.InteropServices.GCHandle.op_Equality(System.Runtime.InteropServices.GCHandle,System.Runtime.InteropServices.GCHandle)">
574 <summary>返回一个值,该值指示两个 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象是否相等。</summary>
575 <returns>如果 <paramref name="a" /> 和 <paramref name="b" /> 参数相等,则为 true;否则为 false。</returns>
576 <param name="a">要与 <paramref name="b" /> 参数进行比较的 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象。</param>
577 <param name="b">要与 <paramref name="a" /> 参数进行比较的 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象。 </param>
579 <member name="M:System.Runtime.InteropServices.GCHandle.op_Explicit(System.IntPtr)~System.Runtime.InteropServices.GCHandle">
581 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 以内部整数表示形式存储。</summary>
582 <returns>使用内部整数表示形式的已存储 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象。</returns>
583 <param name="value">一个 <see cref="T:System.IntPtr" />,它指示需要该转换的句柄。</param>
585 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
588 <member name="M:System.Runtime.InteropServices.GCHandle.op_Explicit(System.Runtime.InteropServices.GCHandle)~System.IntPtr">
590 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 以内部整数表示形式存储。</summary>
591 <returns>整数值。</returns>
592 <param name="value">需要该整数的 <see cref="T:System.Runtime.InteropServices.GCHandle" />。</param>
594 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
597 <member name="M:System.Runtime.InteropServices.GCHandle.op_Inequality(System.Runtime.InteropServices.GCHandle,System.Runtime.InteropServices.GCHandle)">
598 <summary>返回一个值,该值指示两个 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象是否不相等。</summary>
599 <returns>如果 <paramref name="a" /> 和 <paramref name="b" /> 参数不相等,则为 true;否则为 false。</returns>
600 <param name="a">要与 <paramref name="b" /> 参数进行比较的 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象。</param>
601 <param name="b">要与 <paramref name="a" /> 参数进行比较的 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象。 </param>
603 <member name="P:System.Runtime.InteropServices.GCHandle.Target">
604 <summary>获取或设置该句柄表示的对象。</summary>
605 <returns>该句柄表示的对象。</returns>
606 <exception cref="T:System.InvalidOperationException">The handle was freed, or never initialized. </exception>
608 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
611 <member name="M:System.Runtime.InteropServices.GCHandle.ToIntPtr(System.Runtime.InteropServices.GCHandle)">
612 <summary>返回 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象的内部整数表示形式。</summary>
613 <returns>表示 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象的 <see cref="T:System.IntPtr" /> 对象。 </returns>
614 <param name="value">要从其中检索内部整数表示形式的 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 对象。</param>
616 <member name="T:System.Runtime.InteropServices.GCHandleType">
617 <summary>表示 <see cref="T:System.Runtime.InteropServices.GCHandle" /> 类可以分配的句柄的类型。</summary>
619 <member name="F:System.Runtime.InteropServices.GCHandleType.Normal">
620 <summary>此句柄类型表示不透明句柄,这意味着无法通过此句柄解析固定对象的地址。可以使用此类型跟踪对象,并防止它被垃圾回收器回收。当非托管客户端持有对托管对象的唯一引用(从垃圾回收器检测不到该引用)时,此枚举成员很有用。</summary>
622 <member name="F:System.Runtime.InteropServices.GCHandleType.Pinned">
623 <summary>此句柄类型类似于 <see cref="F:System.Runtime.InteropServices.GCHandleType.Normal" />,但允许使用固定对象的地址。这将防止垃圾回收器移动对象,因此将降低垃圾回收器的效率。使用 <see cref="M:System.Runtime.InteropServices.GCHandle.Free" /> 方法可尽快释放已分配的句柄。</summary>
625 <member name="F:System.Runtime.InteropServices.GCHandleType.Weak">
626 <summary>此句柄类型用于跟踪对象,但允许回收该对象。当回收某个对象时,<see cref="T:System.Runtime.InteropServices.GCHandle" /> 的内容归零。在终结器运行之前,Weak 引用归零,因此即使终结器使该对象复活,Weak 引用仍然是归零的。</summary>
628 <member name="F:System.Runtime.InteropServices.GCHandleType.WeakTrackResurrection">
629 <summary>该句柄类型类似于 <see cref="F:System.Runtime.InteropServices.GCHandleType.Weak" />,但如果对象在终结过程中复活,此句柄不归零。</summary>
631 <member name="T:System.Runtime.InteropServices.GuidAttribute">
632 <summary>当不需要自动 GUID 时提供显式的 <see cref="T:System.Guid" />。</summary>
634 <member name="M:System.Runtime.InteropServices.GuidAttribute.#ctor(System.String)">
635 <summary>用指定的 GUID 初始化 <see cref="T:System.Runtime.InteropServices.GuidAttribute" /> 类的新实例。</summary>
636 <param name="guid">要分配的 <see cref="T:System.Guid" />。</param>
638 <member name="P:System.Runtime.InteropServices.GuidAttribute.Value">
639 <summary>获取类的 <see cref="T:System.Guid" />。</summary>
640 <returns>类的 <see cref="T:System.Guid" />。</returns>
642 <member name="T:System.Runtime.InteropServices.HandleCollector">
643 <summary>跟踪未处理的句柄,并在达到指定阈值时强制执行垃圾回收。</summary>
645 <member name="M:System.Runtime.InteropServices.HandleCollector.#ctor(System.String,System.Int32)">
646 <summary>使用一个名称以及一个阈值(在达到该值时开始执行句柄回收)初始化 <see cref="T:System.Runtime.InteropServices.HandleCollector" /> 类的新实例。</summary>
647 <param name="name">回收器的名称。此参数允许您为跟踪句柄类型的回收器分别命名。</param>
648 <param name="initialThreshold">指定何时开始执行回收的值。</param>
649 <exception cref="T:System.ArgumentOutOfRangeException">
650 <paramref name="initialThreshold" /> 参数小于 0。</exception>
652 <member name="M:System.Runtime.InteropServices.HandleCollector.#ctor(System.String,System.Int32,System.Int32)">
653 <summary>使用一个名称、一个指定何时开始执行句柄回收的阈值,以及一个指定必须进行句柄回收的阈值初始化 <see cref="T:System.Runtime.InteropServices.HandleCollector" /> 类的新实例。</summary>
654 <param name="name">回收器的名称。此参数允许您为跟踪句柄类型的回收器分别命名。</param>
655 <param name="initialThreshold">指定何时开始执行回收的值。</param>
656 <param name="maximumThreshold">指定必须开始进行回收的值。此值应设置为可用句柄的最大数量。</param>
657 <exception cref="T:System.ArgumentOutOfRangeException">
658 <paramref name="initialThreshold" /> 参数小于 0。- 或 -<paramref name="maximumThreshold" /> 参数小于 0。</exception>
659 <exception cref="T:System.ArgumentException">
660 <paramref name="maximumThreshold" /> 参数小于 <paramref name="initialThreshold" /> 参数。</exception>
662 <member name="M:System.Runtime.InteropServices.HandleCollector.Add">
663 <summary>增加当前句柄计数。</summary>
664 <exception cref="T:System.InvalidOperationException">
665 <see cref="P:System.Runtime.InteropServices.HandleCollector.Count" /> 属性小于 0。</exception>
667 <member name="P:System.Runtime.InteropServices.HandleCollector.Count">
668 <summary>获取回收的句柄的数量。</summary>
669 <returns>回收的句柄的数量。</returns>
671 <member name="P:System.Runtime.InteropServices.HandleCollector.InitialThreshold">
672 <summary>获取一个值,该值指定了何时开始执行回收。</summary>
673 <returns>指定何时开始执行回收的值。</returns>
675 <member name="P:System.Runtime.InteropServices.HandleCollector.MaximumThreshold">
676 <summary>获取指定必须开始进行回收的值。</summary>
677 <returns>指定必须开始进行回收的值。</returns>
679 <member name="P:System.Runtime.InteropServices.HandleCollector.Name">
680 <summary>获取 <see cref="T:System.Runtime.InteropServices.HandleCollector" /> 对象的名称。</summary>
681 <returns>此 <see cref="P:System.Runtime.InteropServices.HandleCollector.Name" /> 属性允许您为跟踪句柄类型的回收器分别命名。</returns>
683 <member name="M:System.Runtime.InteropServices.HandleCollector.Remove">
684 <summary>减少当前句柄计数。</summary>
685 <exception cref="T:System.InvalidOperationException">
686 <see cref="P:System.Runtime.InteropServices.HandleCollector.Count" /> 属性小于 0。</exception>
688 <member name="T:System.Runtime.InteropServices.ICustomAdapter">
689 <summary>为客户端访问实际对象(而不是自定义封送拆收器分发的适配器对象)提供了一种方式。</summary>
691 <member name="M:System.Runtime.InteropServices.ICustomAdapter.GetUnderlyingObject">
692 <summary>提供对自定义封送拆收器包装的基础对象的访问权限。</summary>
693 <returns>适配器对象包含的对象。</returns>
695 <member name="T:System.Runtime.InteropServices.ICustomQueryInterface">
696 <summary>允许开发人员提供 IUnknown::QueryInterface(REFIID riid, void **ppvObject) 方法的自定义托管实现。</summary>
698 <member name="M:System.Runtime.InteropServices.ICustomQueryInterface.GetInterface(System.Guid@,System.IntPtr@)">
699 <summary>根据指定的接口 ID 返回接口。</summary>
700 <returns>枚举值之一,指示是否使用了 IUnknown::QueryInterface 的自定义实现。</returns>
701 <param name="iid">请求的接口的 GUID。</param>
702 <param name="ppv">此方法返回时,对所请求的接口的引用。</param>
704 <member name="T:System.Runtime.InteropServices.InAttribute">
705 <summary>指示应将数据从调用方封送到被调用方,而不返回到调用方。</summary>
707 <member name="M:System.Runtime.InteropServices.InAttribute.#ctor">
708 <summary>初始化 <see cref="T:System.Runtime.InteropServices.InAttribute" /> 类的新实例。</summary>
710 <member name="T:System.Runtime.InteropServices.InterfaceTypeAttribute">
711 <summary>指示向 COM 公开时,托管接口是双重的、仅支持调度的、还是仅支持 IUnknown 的。</summary>
713 <member name="M:System.Runtime.InteropServices.InterfaceTypeAttribute.#ctor(System.Int16)">
714 <summary>使用指定的 <see cref="T:System.Runtime.InteropServices.ComInterfaceType" /> 枚举成员初始化 <see cref="T:System.Runtime.InteropServices.InterfaceTypeAttribute" /> 类的新实例。</summary>
715 <param name="interfaceType">描述应如何向 COM 客户端公开接口。</param>
717 <member name="M:System.Runtime.InteropServices.InterfaceTypeAttribute.#ctor(System.Runtime.InteropServices.ComInterfaceType)">
718 <summary>使用指定的 <see cref="T:System.Runtime.InteropServices.ComInterfaceType" /> 枚举成员初始化 <see cref="T:System.Runtime.InteropServices.InterfaceTypeAttribute" /> 类的新实例。</summary>
719 <param name="interfaceType">
720 <see cref="T:System.Runtime.InteropServices.ComInterfaceType" /> 值之一,指定如何向 COM 客户端公开接口。</param>
722 <member name="P:System.Runtime.InteropServices.InterfaceTypeAttribute.Value">
723 <summary>获取 <see cref="T:System.Runtime.InteropServices.ComInterfaceType" /> 值,该值描述应如何向 COM 公开接口。</summary>
725 <see cref="T:System.Runtime.InteropServices.ComInterfaceType" /> 值,该值描述应如何向 COM 公开接口。</returns>
727 <member name="T:System.Runtime.InteropServices.InvalidComObjectException">
728 <summary>当使用无效的 COM 对象时引发的异常。</summary>
730 <member name="M:System.Runtime.InteropServices.InvalidComObjectException.#ctor">
731 <summary>用默认属性初始化 InvalidComObjectException 的实例。</summary>
733 <member name="M:System.Runtime.InteropServices.InvalidComObjectException.#ctor(System.String)">
734 <summary>用消息初始化 InvalidComObjectException 的实例。</summary>
735 <param name="message">指示异常原因的消息。</param>
737 <member name="M:System.Runtime.InteropServices.InvalidComObjectException.#ctor(System.String,System.Exception)">
738 <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Runtime.InteropServices.InvalidComObjectException" /> 类的新实例。</summary>
739 <param name="message">解释异常原因的错误信息。</param>
740 <param name="inner">导致当前异常的异常。如果 <paramref name="inner" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
742 <member name="T:System.Runtime.InteropServices.InvalidOleVariantTypeException">
743 <summary>封送拆收器在遇到不能封送到托管代码的 Variant 类型的参数时引发的异常。</summary>
745 <member name="M:System.Runtime.InteropServices.InvalidOleVariantTypeException.#ctor">
746 <summary>使用默认值初始化 InvalidOleVariantTypeException 类的新实例。</summary>
748 <member name="M:System.Runtime.InteropServices.InvalidOleVariantTypeException.#ctor(System.String)">
749 <summary>用指定的消息初始化 InvalidOleVariantTypeException 类的新实例。</summary>
750 <param name="message">指示异常原因的消息。</param>
752 <member name="M:System.Runtime.InteropServices.InvalidOleVariantTypeException.#ctor(System.String,System.Exception)">
753 <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Runtime.InteropServices.InvalidOleVariantTypeException" /> 类的新实例。</summary>
754 <param name="message">解释异常原因的错误信息。</param>
755 <param name="inner">导致当前异常的异常。如果 <paramref name="inner" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
757 <member name="T:System.Runtime.InteropServices.Marshal">
758 <summary>提供了一个方法集合,这些方法用于分配非托管内存、复制非托管内存块、将托管类型转换为非托管类型,此外还提供了在与非托管代码交互时使用的其他杂项方法。</summary>
760 <member name="M:System.Runtime.InteropServices.Marshal.AddRef(System.IntPtr)">
761 <summary>递增指定接口上的引用计数。</summary>
763 <paramref name="pUnk" /> 参数上的引用计数的新值。</returns>
764 <param name="pUnk">要递增的接口引用计数。</param>
766 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
769 <member name="M:System.Runtime.InteropServices.Marshal.AllocCoTaskMem(System.Int32)">
770 <summary>从 COM 任务内存分配器分配指定大小的内存块。</summary>
771 <returns>一个整数,表示分配的内存块的地址。该内存必须用 <see cref="M:System.Runtime.InteropServices.Marshal.FreeCoTaskMem(System.IntPtr)" /> 来释放。</returns>
772 <param name="cb">要分配的内存块的大小。</param>
773 <exception cref="T:System.OutOfMemoryException">内存不足,无法满足请求。</exception>
775 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
778 <member name="M:System.Runtime.InteropServices.Marshal.AllocHGlobal(System.Int32)">
779 <summary>通过使用指定的字节数,从进程的非托管内存中分配内存。</summary>
780 <returns>指向新分配的内存的指针。必须使用 <see cref="M:System.Runtime.InteropServices.Marshal.FreeHGlobal(System.IntPtr)" /> 方法释放此内存。</returns>
781 <param name="cb">内存中的所需字节数。</param>
782 <exception cref="T:System.OutOfMemoryException">内存不足,无法满足请求。</exception>
784 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
787 <member name="M:System.Runtime.InteropServices.Marshal.AllocHGlobal(System.IntPtr)">
788 <summary>通过使用指向指定字节数的指针,从进程的非托管内存中分配内存。</summary>
789 <returns>指向新分配的内存的指针。必须使用 <see cref="M:System.Runtime.InteropServices.Marshal.FreeHGlobal(System.IntPtr)" /> 方法释放此内存。</returns>
790 <param name="cb">内存中的所需字节数。</param>
791 <exception cref="T:System.OutOfMemoryException">内存不足,无法满足请求。</exception>
793 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
796 <member name="M:System.Runtime.InteropServices.Marshal.AreComObjectsAvailableForCleanup">
797 <summary>指示是否可以清除任何上下文中的运行时可调用包装器 (RCW)。</summary>
798 <returns>如果存在任何可清除的 RCW,则为 true;否则为 false。</returns>
800 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.Byte[],System.Int32,System.IntPtr,System.Int32)">
801 <summary>将数据从一维托管 8 位无符号整数数组复制到非托管内存指针。</summary>
802 <param name="source">从中进行复制的一维数组。</param>
803 <param name="startIndex">源数组中从零开始的索引,在此处开始复制。</param>
804 <param name="destination">要复制到的内存指针。</param>
805 <param name="length">要复制的数组元素的数目。</param>
806 <exception cref="T:System.ArgumentOutOfRangeException">
807 <paramref name="startIndex" /> 和 <paramref name="length" /> 无效。</exception>
808 <exception cref="T:System.ArgumentNullException">
809 <paramref name="source" />、<paramref name="startIndex" />、<paramref name="destination" /> 或 <paramref name="length" /> 为 null。</exception>
811 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
814 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.Char[],System.Int32,System.IntPtr,System.Int32)">
815 <summary>将数据从一维托管字符数组复制到非托管内存指针。</summary>
816 <param name="source">从中进行复制的一维数组。</param>
817 <param name="startIndex">源数组中从零开始的索引,在此处开始复制。</param>
818 <param name="destination">要复制到的内存指针。</param>
819 <param name="length">要复制的数组元素的数目。</param>
820 <exception cref="T:System.ArgumentOutOfRangeException">
821 <paramref name="startIndex" /> 和 <paramref name="length" /> 无效。</exception>
822 <exception cref="T:System.ArgumentNullException">
823 <paramref name="startIndex" />、<paramref name="destination" /> 或 <paramref name="length" /> 为 null。</exception>
825 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
828 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.Double[],System.Int32,System.IntPtr,System.Int32)">
829 <summary>将数据从一维托管双精度浮点数数组复制到非托管内存指针。</summary>
830 <param name="source">从中进行复制的一维数组。</param>
831 <param name="startIndex">源数组中从零开始的索引,在此处开始复制。</param>
832 <param name="destination">要复制到的内存指针。</param>
833 <param name="length">要复制的数组元素的数目。</param>
834 <exception cref="T:System.ArgumentOutOfRangeException">
835 <paramref name="startIndex" /> 和 <paramref name="length" /> 无效。</exception>
836 <exception cref="T:System.ArgumentNullException">
837 <paramref name="source" />、<paramref name="startIndex" />、<paramref name="destination" /> 或 <paramref name="length" /> 为 null。</exception>
839 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
842 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.Int16[],System.Int32,System.IntPtr,System.Int32)">
843 <summary>将数据从一维托管 16 位带符号整数数组复制到非托管内存指针。</summary>
844 <param name="source">从中进行复制的一维数组。</param>
845 <param name="startIndex">源数组中从零开始的索引,在此处开始复制。</param>
846 <param name="destination">要复制到的内存指针。</param>
847 <param name="length">要复制的数组元素的数目。</param>
848 <exception cref="T:System.ArgumentOutOfRangeException">
849 <paramref name="startIndex" /> 和 <paramref name="length" /> 无效。</exception>
850 <exception cref="T:System.ArgumentNullException">
851 <paramref name="source" />、<paramref name="startIndex" />、<paramref name="destination" /> 或 <paramref name="length" /> 为 null。</exception>
853 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
856 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.Int32[],System.Int32,System.IntPtr,System.Int32)">
857 <summary>将数据从一维托管 32 位带符号整数数组复制到非托管内存指针。</summary>
858 <param name="source">从中进行复制的一维数组。</param>
859 <param name="startIndex">源数组中从零开始的索引,在此处开始复制。</param>
860 <param name="destination">要复制到的内存指针。</param>
861 <param name="length">要复制的数组元素的数目。</param>
862 <exception cref="T:System.ArgumentOutOfRangeException">
863 <paramref name="startIndex" /> 和 <paramref name="length" /> 无效。</exception>
864 <exception cref="T:System.ArgumentNullException">
865 <paramref name="startIndex" /> 或 <paramref name="length" /> 为 null。</exception>
867 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
870 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.Int64[],System.Int32,System.IntPtr,System.Int32)">
871 <summary>将数据从一维托管 64 位带符号整数数组复制到非托管内存指针。</summary>
872 <param name="source">从中进行复制的一维数组。</param>
873 <param name="startIndex">源数组中从零开始的索引,在此处开始复制。</param>
874 <param name="destination">要复制到的内存指针。</param>
875 <param name="length">要复制的数组元素的数目。</param>
876 <exception cref="T:System.ArgumentOutOfRangeException">
877 <paramref name="startIndex" /> 和 <paramref name="length" /> 无效。</exception>
878 <exception cref="T:System.ArgumentNullException">
879 <paramref name="source" />、<paramref name="startIndex" />、<paramref name="destination" /> 或 <paramref name="length" /> 为 null。</exception>
881 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
884 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.IntPtr,System.Byte[],System.Int32,System.Int32)">
885 <summary>将数据从非托管内存指针复制到托管 8 位无符号整数数组。</summary>
886 <param name="source">从中进行复制的内存指针。</param>
887 <param name="destination">要复制到的数组。</param>
888 <param name="startIndex">目标数组中从零开始的索引,在此处开始复制。</param>
889 <param name="length">要复制的数组元素的数目。</param>
890 <exception cref="T:System.ArgumentNullException">
891 <paramref name="source" />、<paramref name="destination" />、<paramref name="startIndex" /> 或 <paramref name="length" /> 为 null。</exception>
893 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
896 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.IntPtr,System.Char[],System.Int32,System.Int32)">
897 <summary>将数据从非托管内存指针复制到托管字符数组。</summary>
898 <param name="source">从中进行复制的内存指针。</param>
899 <param name="destination">要复制到的数组。</param>
900 <param name="startIndex">目标数组中从零开始的索引,在此处开始复制。</param>
901 <param name="length">要复制的数组元素的数目。</param>
902 <exception cref="T:System.ArgumentNullException">
903 <paramref name="source" />、<paramref name="destination" />、<paramref name="startIndex" /> 或 <paramref name="length" /> 为 null。</exception>
905 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
908 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.IntPtr,System.Double[],System.Int32,System.Int32)">
909 <summary>将数据从非托管内存指针复制到托管双精度浮点数数组。</summary>
910 <param name="source">从中进行复制的内存指针。</param>
911 <param name="destination">要复制到的数组。</param>
912 <param name="startIndex">目标数组中从零开始的索引,在此处开始复制。</param>
913 <param name="length">要复制的数组元素的数目。</param>
914 <exception cref="T:System.ArgumentNullException">
915 <paramref name="source" />、<paramref name="destination" />、<paramref name="startIndex" /> 或 <paramref name="length" /> 为 null。</exception>
917 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
920 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.IntPtr,System.Int16[],System.Int32,System.Int32)">
921 <summary>将数据从非托管内存指针复制到托管 16 位带符号整数数组。</summary>
922 <param name="source">从中进行复制的内存指针。</param>
923 <param name="destination">要复制到的数组。</param>
924 <param name="startIndex">目标数组中从零开始的索引,在此处开始复制。</param>
925 <param name="length">要复制的数组元素的数目。</param>
926 <exception cref="T:System.ArgumentNullException">
927 <paramref name="source" />、<paramref name="destination" />、<paramref name="startIndex" /> 或 <paramref name="length" /> 为 null。</exception>
929 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
932 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.IntPtr,System.Int32[],System.Int32,System.Int32)">
933 <summary>将数据从非托管内存指针复制到托管 32 位带符号整数数组。</summary>
934 <param name="source">从中进行复制的内存指针。</param>
935 <param name="destination">要复制到的数组。</param>
936 <param name="startIndex">目标数组中从零开始的索引,在此处开始复制。</param>
937 <param name="length">要复制的数组元素的数目。</param>
938 <exception cref="T:System.ArgumentNullException">
939 <paramref name="source" />、<paramref name="destination" />、<paramref name="startIndex" /> 或 <paramref name="length" /> 为 null。</exception>
941 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
944 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.IntPtr,System.Int64[],System.Int32,System.Int32)">
945 <summary>将数据从非托管内存指针复制到托管 64 位带符号整数数组。</summary>
946 <param name="source">从中进行复制的内存指针。</param>
947 <param name="destination">要复制到的数组。</param>
948 <param name="startIndex">目标数组中从零开始的索引,在此处开始复制。</param>
949 <param name="length">要复制的数组元素的数目。</param>
950 <exception cref="T:System.ArgumentNullException">
951 <paramref name="source" />、<paramref name="destination" />、<paramref name="startIndex" /> 或 <paramref name="length" /> 为 null。</exception>
953 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
956 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.IntPtr,System.IntPtr[],System.Int32,System.Int32)">
957 <summary>将数据从非托管内存指针复制到托管 <see cref="T:System.IntPtr" /> 数组。</summary>
958 <param name="source">从中进行复制的内存指针。</param>
959 <param name="destination">要复制到的数组。</param>
960 <param name="startIndex">目标数组中从零开始的索引,在此处开始复制。</param>
961 <param name="length">要复制的数组元素的数目。</param>
962 <exception cref="T:System.ArgumentNullException">
963 <paramref name="source" />、<paramref name="destination" />、<paramref name="startIndex" /> 或 <paramref name="length" /> 为 null。</exception>
965 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.IntPtr,System.Single[],System.Int32,System.Int32)">
966 <summary>将数据从非托管内存指针复制到托管单精度浮点数数组。</summary>
967 <param name="source">从中进行复制的内存指针。</param>
968 <param name="destination">要复制到的数组。</param>
969 <param name="startIndex">目标数组中从零开始的索引,在此处开始复制。</param>
970 <param name="length">要复制的数组元素的数目。 </param>
971 <exception cref="T:System.ArgumentNullException">
972 <paramref name="source" />、<paramref name="destination" />、<paramref name="startIndex" /> 或 <paramref name="length" /> 为 null。</exception>
974 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
977 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.IntPtr[],System.Int32,System.IntPtr,System.Int32)">
978 <summary>将数据从一维托管 <see cref="T:System.IntPtr" /> 数组复制到非托管内存指针。</summary>
979 <param name="source">从中进行复制的一维数组。</param>
980 <param name="startIndex">源数组中从零开始的索引,在此处开始复制。</param>
981 <param name="destination">要复制到的内存指针。</param>
982 <param name="length">要复制的数组元素的数目。</param>
983 <exception cref="T:System.ArgumentNullException">
984 <paramref name="source" />、<paramref name="destination" />、<paramref name="startIndex" /> 或 <paramref name="length" /> 为 null。</exception>
986 <member name="M:System.Runtime.InteropServices.Marshal.Copy(System.Single[],System.Int32,System.IntPtr,System.Int32)">
987 <summary>将数据从一维托管单精度浮点数数组复制到非托管内存指针。</summary>
988 <param name="source">从中进行复制的一维数组。</param>
989 <param name="startIndex">源数组中从零开始的索引,在此处开始复制。</param>
990 <param name="destination">要复制到的内存指针。</param>
991 <param name="length">要复制的数组元素的数目。 </param>
992 <exception cref="T:System.ArgumentOutOfRangeException">
993 <paramref name="startIndex" /> 和 <paramref name="length" /> 无效。 </exception>
994 <exception cref="T:System.ArgumentNullException">
995 <paramref name="source" />、<paramref name="startIndex" />、<paramref name="destination" /> 或 <paramref name="length" /> 为 null。</exception>
997 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1000 <member name="M:System.Runtime.InteropServices.Marshal.CreateAggregatedObject(System.IntPtr,System.Object)">
1001 <summary>聚合托管对象和指定的 COM 对象。</summary>
1002 <returns>托管对象的内部 IUnknown 指针。</returns>
1003 <param name="pOuter">外部 IUnknown 指针。</param>
1004 <param name="o">要聚合的对象。</param>
1005 <exception cref="T:System.ArgumentException">
1006 <paramref name="o" /> 是 Windows 运行时 对象。</exception>
1008 <member name="M:System.Runtime.InteropServices.Marshal.CreateAggregatedObject``1(System.IntPtr,``0)">
1009 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]聚合指定类型的托管对象和指定的 COM 对象。</summary>
1010 <returns>托管对象的内部 IUnknown 指针。 </returns>
1011 <param name="pOuter">外部 IUnknown 指针。</param>
1012 <param name="o">要集合的托管对象。</param>
1013 <typeparam name="T">要聚合的托管对象的类型。</typeparam>
1014 <exception cref="T:System.ArgumentException">
1015 <paramref name="o" /> 是 Windows 运行时 对象。</exception>
1017 <member name="M:System.Runtime.InteropServices.Marshal.CreateWrapperOfType(System.Object,System.Type)">
1018 <summary>在指定类型的对象中包装指定的 COM 对象。</summary>
1019 <returns>新包装的对象,该对象是所需类型的实例。</returns>
1020 <param name="o">要包装的对象。</param>
1021 <param name="t">要创建的包装器的类型。</param>
1022 <exception cref="T:System.ArgumentException">
1023 <paramref name="t" /> 必须从 __ComObject 派生。- 或 -<paramref name="t" /> 是一种 Windows 运行时 类型。</exception>
1024 <exception cref="T:System.ArgumentNullException">
1025 <paramref name="t" /> 参数为 null。</exception>
1026 <exception cref="T:System.InvalidCastException">
1027 <paramref name="o" /> 无法转换为目标类型,因为它不支持所有所需的接口。 </exception>
1029 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1032 <member name="M:System.Runtime.InteropServices.Marshal.CreateWrapperOfType``2(``0)">
1033 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]在指定类型的对象中包装指定的 COM 对象。</summary>
1034 <returns>新包装的对象。 </returns>
1035 <param name="o">要包装的对象。</param>
1036 <typeparam name="T">要包装的对象的类型。</typeparam>
1037 <typeparam name="TWrapper">要返回的对象的类型。</typeparam>
1038 <exception cref="T:System.ArgumentException">
1039 <paramref name="T" /> 必须从 __ComObject 派生。- 或 -<paramref name="T" /> 是一种 Windows 运行时 类型。</exception>
1040 <exception cref="T:System.InvalidCastException">
1041 <paramref name="o" /> 无法转换为 <paramref name="TWrapper" />,因为它不支持所有需要的接口。 </exception>
1043 <member name="M:System.Runtime.InteropServices.Marshal.DestroyStructure``1(System.IntPtr)">
1044 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]释放指定的非托管内存块所指向的所有指定类型的子结构。</summary>
1045 <param name="ptr">指向非托管内存块的指针。 </param>
1046 <typeparam name="T">格式化结构的类型。该类型提供删除 <paramref name="ptr" /> 参数指向的缓冲区时必需的布局信息。</typeparam>
1047 <exception cref="T:System.ArgumentException">
1048 <paramref name="T" /> 具有自动布局。但请使用连续或显式布局。</exception>
1050 <member name="M:System.Runtime.InteropServices.Marshal.DestroyStructure(System.IntPtr,System.Type)">
1051 <summary>释放指定的非托管内存块所指向的所有子结构。</summary>
1052 <param name="ptr">指向非托管内存块的指针。</param>
1053 <param name="structuretype">格式化类的类型。该类型提供删除 <paramref name="ptr" /> 参数指向的缓冲区时必需的布局信息。</param>
1054 <exception cref="T:System.ArgumentException">
1055 <paramref name="structureType" /> 具有自动布局。但请使用连续或显式布局。</exception>
1057 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1060 <member name="M:System.Runtime.InteropServices.Marshal.FinalReleaseComObject(System.Object)">
1061 <summary>通过将 运行时可调用包装 (RCW) 的引用计数设置为 0,释放对它的所有引用。</summary>
1062 <returns>与 <paramref name="o" /> 参数关联的 RCW 的引用计数的新值,如果释放成功,则为 0(零)。</returns>
1063 <param name="o">要释放的 RCW。</param>
1064 <exception cref="T:System.ArgumentException">
1065 <paramref name="o" /> 不是一个有效的 COM 对象。</exception>
1066 <exception cref="T:System.ArgumentNullException">
1067 <paramref name="o" /> 为 null。</exception>
1069 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1072 <member name="M:System.Runtime.InteropServices.Marshal.FreeBSTR(System.IntPtr)">
1073 <summary>使用 COM SysFreeString 函数释放 BSTR。</summary>
1074 <param name="ptr">要释放的 BSTR 的地址。</param>
1076 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1079 <member name="M:System.Runtime.InteropServices.Marshal.FreeCoTaskMem(System.IntPtr)">
1080 <summary>释放由非托管 COM 任务内存分配器分配的内存块。</summary>
1081 <param name="ptr">要释放的内存的地址。</param>
1083 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1086 <member name="M:System.Runtime.InteropServices.Marshal.FreeHGlobal(System.IntPtr)">
1087 <summary>释放以前从进程的非托管内存中分配的内存。</summary>
1088 <param name="hglobal">由对 <see cref="M:System.Runtime.InteropServices.Marshal.AllocHGlobal(System.IntPtr)" /> 的原始匹配调用返回的句柄。</param>
1090 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1093 <member name="M:System.Runtime.InteropServices.Marshal.GetComInterfaceForObject(System.Object,System.Type)">
1094 <summary>返回一个指向 IUnknown 接口的指针,该指针表示指定对象上的指定接口。默认情况下,启用自定义查询接口访问。</summary>
1095 <returns>表示对象的指定接口的接口指针。</returns>
1096 <param name="o">提供接口的对象。</param>
1097 <param name="T">所请求接口的类型。</param>
1098 <exception cref="T:System.ArgumentException">
1099 <paramref name="T" /> 参数不是接口。- 或 -该类型对 COM 不可见。- 或 -<paramref name="T" /> 参数是泛型类型。</exception>
1100 <exception cref="T:System.InvalidCastException">
1101 <paramref name="o" /> 参数不支持请求的接口。</exception>
1102 <exception cref="T:System.ArgumentNullException">
1103 <paramref name="o" /> 参数为 null。- 或 -<paramref name="T" /> 参数为 null。</exception>
1105 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1108 <member name="M:System.Runtime.InteropServices.Marshal.GetComInterfaceForObject(System.Object,System.Type,System.Runtime.InteropServices.CustomQueryInterfaceMode)">
1109 <summary>返回一个指向 IUnknown 接口的指针,该指针表示指定对象上的指定接口。自定义查询接口访问由指定的自定义模式控制。</summary>
1110 <returns>表示对象的接口的接口指针。</returns>
1111 <param name="o">提供接口的对象。</param>
1112 <param name="T">所请求接口的类型。</param>
1113 <param name="mode">指示是否要应用 <see cref="T:System.Runtime.InteropServices.ICustomQueryInterface" /> 提供的 IUnknown::QueryInterface 自定义的枚举值之一。</param>
1114 <exception cref="T:System.ArgumentException">
1115 <paramref name="T" /> 参数不是接口。- 或 -该类型对 COM 不可见。- 或 -<paramref name="T" /> 参数是泛型类型。</exception>
1116 <exception cref="T:System.InvalidCastException">对象 <paramref name="o" /> 不支持请求的接口。</exception>
1117 <exception cref="T:System.ArgumentNullException">
1118 <paramref name="o" /> 参数为 null。- 或 -<paramref name="T" /> 参数为 null。</exception>
1120 <member name="M:System.Runtime.InteropServices.Marshal.GetComInterfaceForObject``2(``0)">
1121 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]返回指向 IUnknown 接口的指针,该指针表示指定类型的对象上的指定接口。默认情况下,启用自定义查询接口访问。</summary>
1122 <returns>表示 <paramref name="TInterface" /> 接口的接口指针。</returns>
1123 <param name="o">提供接口的对象。</param>
1124 <typeparam name="T">
1125 <paramref name="o" /> 的类型。</typeparam>
1126 <typeparam name="TInterface">要返回的接口的类型。</typeparam>
1127 <exception cref="T:System.ArgumentException">
1128 <paramref name="TInterface" /> 参数不是接口。- 或 -该类型对 COM 不可见。- 或 -<paramref name="T" /> 参数是开放式泛型类型。</exception>
1129 <exception cref="T:System.InvalidCastException">
1130 <paramref name="o" /> 参数不支持 <paramref name="TInterface" /> 接口。</exception>
1131 <exception cref="T:System.ArgumentNullException">
1132 <paramref name="o" /> 参数为 null。</exception>
1134 <member name="M:System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer``1(System.IntPtr)">
1135 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]将非托管函数指针转换为指定类型的委托。</summary>
1136 <returns>指定委托类型的实例。</returns>
1137 <param name="ptr">要转换的非托管函数指针。</param>
1138 <typeparam name="TDelegate">要返回的委托的类型。</typeparam>
1139 <exception cref="T:System.ArgumentException">
1140 <paramref name="TDelegate" /> 泛型参数不是代理,或者它是开放式泛型类型。</exception>
1141 <exception cref="T:System.ArgumentNullException">
1142 <paramref name="ptr" /> 参数为 null。</exception>
1144 <member name="M:System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(System.IntPtr,System.Type)">
1145 <summary>将非托管函数指针转换为委托。</summary>
1146 <returns>可转换为适当的委托类型的委托实例。</returns>
1147 <param name="ptr">要转换的非托管函数指针。</param>
1148 <param name="t">要返回的委托的类型。</param>
1149 <exception cref="T:System.ArgumentException">
1150 <paramref name="t" /> 参数不是委托或泛型。</exception>
1151 <exception cref="T:System.ArgumentNullException">
1152 <paramref name="ptr" /> 参数为 null。- 或 -<paramref name="t" /> 参数为 null。</exception>
1154 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1157 <member name="M:System.Runtime.InteropServices.Marshal.GetExceptionCode">
1158 <summary>检索标识所发生异常的类型的代码。</summary>
1159 <returns>异常的类型。</returns>
1161 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1164 <member name="M:System.Runtime.InteropServices.Marshal.GetExceptionForHR(System.Int32)">
1165 <summary>将指定的 HRESULT 错误代码转换为对应的 <see cref="T:System.Exception" /> 对象。</summary>
1166 <returns>表示转换后的 HRESULT 的对象。</returns>
1167 <param name="errorCode">要转换的 HRESULT。</param>
1169 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1172 <member name="M:System.Runtime.InteropServices.Marshal.GetExceptionForHR(System.Int32,System.IntPtr)">
1173 <summary>通过传入异常对象的 IErrorInfo 接口的附加错误消息,将指定的 HRESULT 错误代码转换为对应的 <see cref="T:System.Exception" /> 对象。</summary>
1174 <returns>一个对象,表示转换后的 HRESULT 以及从 <paramref name="errorInfo" /> 获取的信息。</returns>
1175 <param name="errorCode">要转换的 HRESULT。</param>
1176 <param name="errorInfo">指向 IErrorInfo 接口的指针,该接口提供有关错误的更多信息。您可以指定 IntPtr(0) 以使用当前 IErrorInfo 接口,或者指定 IntPtr(-1) 以忽略当前 IErrorInfo 接口,并仅从错误代码构造异常。</param>
1178 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1181 <member name="M:System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(System.Delegate)">
1182 <summary>将委托转换为可从非托管代码调用的函数指针。</summary>
1183 <returns>一个可传递给非托管代码的值,非托管代码使用该值来调用基础托管委托。</returns>
1184 <param name="d">要传递给非托管代码的委托。</param>
1185 <exception cref="T:System.ArgumentException">
1186 <paramref name="d" /> 参数是泛型类型。</exception>
1187 <exception cref="T:System.ArgumentNullException">
1188 <paramref name="d" /> 参数为 null。</exception>
1190 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1193 <member name="M:System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate``1(``0)">
1194 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]将指定类型的委托转换为可从非托管代码调用的函数指针。</summary>
1195 <returns>一个可传递给非托管代码的值,非托管代码使用该值来调用基础托管委托。</returns>
1196 <param name="d">要传递给非托管代码的委托。</param>
1197 <typeparam name="TDelegate">要转换的委托的类型。</typeparam>
1198 <exception cref="T:System.ArgumentNullException">
1199 <paramref name="d" /> 参数为 null。</exception>
1201 <member name="M:System.Runtime.InteropServices.Marshal.GetHRForException(System.Exception)">
1202 <summary>将指定异常转换为 HRESULT。</summary>
1203 <returns>映射到所提供的异常的 HRESULT。</returns>
1204 <param name="e">要转换为 HRESULT 的异常。</param>
1206 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1209 <member name="M:System.Runtime.InteropServices.Marshal.GetHRForLastWin32Error">
1210 <summary>返回 HRESULT,它对应于使用 <see cref="T:System.Runtime.InteropServices.Marshal" /> 执行的 Win32 代码引起的最后一个错误。</summary>
1211 <returns>对应于最后一个 Win32 错误代码的 HRESULT。</returns>
1213 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1216 <member name="M:System.Runtime.InteropServices.Marshal.GetIUnknownForObject(System.Object)">
1217 <summary>从托管对象返回 IUnknown 接口。</summary>
1219 <paramref name="o" /> 参数的 IUnknown 指针。</returns>
1220 <param name="o">其 IUnknown 接口被请求的对象。</param>
1222 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1225 <member name="M:System.Runtime.InteropServices.Marshal.GetLastWin32Error">
1226 <summary>返回由上一个非托管函数返回的错误代码,该函数是使用设置了 <see cref="F:System.Runtime.InteropServices.DllImportAttribute.SetLastError" /> 标志的平台调用来调用的。</summary>
1227 <returns>通过调用 Win32 SetLastError 函数设置的最后一个错误代码。</returns>
1229 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1232 <member name="M:System.Runtime.InteropServices.Marshal.GetNativeVariantForObject(System.Object,System.IntPtr)">
1233 <summary>将对象转换为 COM VARIANT。</summary>
1234 <param name="obj">为其获取 COM VARIANT 的对象。</param>
1235 <param name="pDstNativeVariant">一个指针,接收对应于 <paramref name="obj" /> 参数的 VARIANT。</param>
1236 <exception cref="T:System.ArgumentException">
1237 <paramref name="obj" /> 参数是泛型类型。</exception>
1239 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1242 <member name="M:System.Runtime.InteropServices.Marshal.GetNativeVariantForObject``1(``0,System.IntPtr)">
1243 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]将指定类型的对象转换为 COM VARIANT。</summary>
1244 <param name="obj">为其获取 COM VARIANT 的对象。</param>
1245 <param name="pDstNativeVariant">一个指针,接收对应于 <paramref name="obj" /> 参数的 VARIANT。</param>
1246 <typeparam name="T">要转换的对象的类型。</typeparam>
1248 <member name="M:System.Runtime.InteropServices.Marshal.GetObjectForIUnknown(System.IntPtr)">
1249 <summary>返回一个类型实例,该实例通过指向 COM 对象的 IUnknown 接口的指针表示该对象。</summary>
1250 <returns>一个对象,表示指定的非托管 COM 对象。</returns>
1251 <param name="pUnk">指向 IUnknown 接口的指针。</param>
1253 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1256 <member name="M:System.Runtime.InteropServices.Marshal.GetObjectForNativeVariant(System.IntPtr)">
1257 <summary>将 COM VARIANT 转换为对象。</summary>
1258 <returns>一个对象,对应于 <paramref name="pSrcNativeVariant" /> 参数。</returns>
1259 <param name="pSrcNativeVariant">指向 COM VARIANT 的指针。</param>
1260 <exception cref="T:System.Runtime.InteropServices.InvalidOleVariantTypeException">
1261 <paramref name="pSrcNativeVariant" /> 不是有效的 VARIANT 类型。</exception>
1262 <exception cref="T:System.NotSupportedException">
1263 <paramref name="pSrcNativeVariant" /> 包含不受支持的类型。</exception>
1265 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1268 <member name="M:System.Runtime.InteropServices.Marshal.GetObjectForNativeVariant``1(System.IntPtr)">
1269 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]将 COM VARIANT 转换为指定类型的对象。</summary>
1270 <returns>一个指定类型的对象,它与 <paramref name="pSrcNativeVariant" /> 参数对应。 </returns>
1271 <param name="pSrcNativeVariant">指向 COM VARIANT 的指针。</param>
1272 <typeparam name="T">要将 COM VARIANT 转换为的类型。</typeparam>
1273 <exception cref="T:System.Runtime.InteropServices.InvalidOleVariantTypeException">
1274 <paramref name="pSrcNativeVariant" /> 不是有效的 VARIANT 类型。 </exception>
1275 <exception cref="T:System.NotSupportedException">
1276 <paramref name="pSrcNativeVariant" /> 包含不受支持的类型。 </exception>
1278 <member name="M:System.Runtime.InteropServices.Marshal.GetObjectsForNativeVariants(System.IntPtr,System.Int32)">
1279 <summary>将 COM VARIANTs 数组转换为对象数组。</summary>
1280 <returns>一个对象数组,对应于 <paramref name="aSrcNativeVariant" />。</returns>
1281 <param name="aSrcNativeVariant">指向 COM VARIANT 数组中第一个元素的指针。</param>
1282 <param name="cVars">
1283 <paramref name="aSrcNativeVariant" /> 中的 COM VARIANT 的计数。</param>
1284 <exception cref="T:System.ArgumentOutOfRangeException">
1285 <paramref name="cVars" /> 是一个负数。</exception>
1287 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1290 <member name="M:System.Runtime.InteropServices.Marshal.GetObjectsForNativeVariants``1(System.IntPtr,System.Int32)">
1291 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]将 COM VARIANT 数组转换为指定类型的数组。</summary>
1292 <returns>对应于 <paramref name="aSrcNativeVariant" /> 的 <paramref name="T" /> 对象的数组。 </returns>
1293 <param name="aSrcNativeVariant">指向 COM VARIANT 数组中第一个元素的指针。</param>
1294 <param name="cVars">
1295 <paramref name="aSrcNativeVariant" /> 中的 COM VARIANT 的计数。</param>
1296 <typeparam name="T">要返回的数组的类型。</typeparam>
1297 <exception cref="T:System.ArgumentOutOfRangeException">
1298 <paramref name="cVars" /> 是一个负数。 </exception>
1300 <member name="M:System.Runtime.InteropServices.Marshal.GetStartComSlot(System.Type)">
1301 <summary>获取虚拟功能表(v 表或 VTBL)中包含用户定义的方法的第一个槽。</summary>
1302 <returns>包含用户定义的方法的第一个 VTBL 槽。如果接口基于 IUnknown,则第一个槽为 3;如果接口基于 IDispatch,则为 7。</returns>
1303 <param name="t">表示接口的类型。</param>
1304 <exception cref="T:System.ArgumentException">
1305 <paramref name="t" /> 在 COM 中不可见。</exception>
1307 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1310 <member name="M:System.Runtime.InteropServices.Marshal.GetTypeFromCLSID(System.Guid)">
1311 <summary>返回与指定类标识符 (CLSID) 关联的类型。</summary>
1312 <returns>System.__ComObject,无论 CLSID 是否有效。</returns>
1313 <param name="clsid">返回的类型的 CLSID。 </param>
1315 <member name="M:System.Runtime.InteropServices.Marshal.GetTypeInfoName(System.Runtime.InteropServices.ComTypes.ITypeInfo)">
1316 <summary>检索由 ITypeInfo 对象表示的类型的名称。</summary>
1318 <paramref name="typeInfo" /> 参数指向的类型的名称。</returns>
1319 <param name="typeInfo">表示 ITypeInfo 指针的对象。</param>
1320 <exception cref="T:System.ArgumentNullException">
1321 <paramref name="typeInfo" /> 参数为 null。</exception>
1323 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1326 <member name="M:System.Runtime.InteropServices.Marshal.GetUniqueObjectForIUnknown(System.IntPtr)">
1327 <summary>为给定的 IUnknown 接口创建唯一的 运行时可调用包装 (RCW) 对象。</summary>
1328 <returns>指定的 IUnknown 接口的唯一 RCW。</returns>
1329 <param name="unknown">指向 IUnknown 接口的托管指针。</param>
1331 <member name="M:System.Runtime.InteropServices.Marshal.IsComObject(System.Object)">
1332 <summary>指示指定对象是否表示 COM 对象。</summary>
1333 <returns>如果 <paramref name="o" /> 参数是 COM 类型,则为 true;否则为 false。</returns>
1334 <param name="o">要检查的对象。</param>
1336 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1339 <member name="M:System.Runtime.InteropServices.Marshal.OffsetOf``1(System.String)">
1340 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]返回指定托管类的非托管形式的字段偏移量。</summary>
1341 <returns>平台调用声明的指定类中 <paramref name="fieldName" /> 参数的偏移量(以字节为单位)。 </returns>
1342 <param name="fieldName">
1343 <paramref name="T" /> 类型中字段的名称。</param>
1344 <typeparam name="T">托管值类型或格式化引用类型。必须将 <see cref="T:System.Runtime.InteropServices.StructLayoutAttribute" /> 特性应用于该类。</typeparam>
1346 <member name="M:System.Runtime.InteropServices.Marshal.OffsetOf(System.Type,System.String)">
1347 <summary>返回托管类的非托管形式的字段偏移量。</summary>
1348 <returns>平台调用声明的指定类中 <paramref name="fieldName" /> 参数的偏移量(以字节为单位)。</returns>
1349 <param name="t">指定托管类的值类型或格式化引用类型。必须将 <see cref="T:System.Runtime.InteropServices.StructLayoutAttribute" /> 应用于该类。</param>
1350 <param name="fieldName">
1351 <paramref name="t" /> 参数中的字段。</param>
1352 <exception cref="T:System.ArgumentException">该类无法作为结构导出,或者字段为非公共字段。从 .NET Framework 2.0 版开始,该字段可以是私有的。</exception>
1353 <exception cref="T:System.ArgumentNullException">
1354 <paramref name="t" /> 参数为 null。</exception>
1356 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1359 <member name="M:System.Runtime.InteropServices.Marshal.PtrToStringAnsi(System.IntPtr)">
1360 <summary>将非托管 ANSI 字符串中第一个 null 字符之前的所有字符复制到托管 <see cref="T:System.String" />,并将每个 ANSI 字符扩展为 Unicode 字符。</summary>
1361 <returns>包含非托管 ANSI 字符串的副本的托管字符串。如果 <paramref name="ptr" /> 为 null,则该方法返回空字符串。</returns>
1362 <param name="ptr">非托管字符串的第一个字符的地址。</param>
1364 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1367 <member name="M:System.Runtime.InteropServices.Marshal.PtrToStringAnsi(System.IntPtr,System.Int32)">
1368 <summary>分配托管 <see cref="T:System.String" />,然后从非托管 ANSI 字符串向其复制指定数目的字符,并将每个 ANSI 字符扩展为 Unicode 字符。</summary>
1369 <returns>如果 <paramref name="ptr" /> 参数的值不是 null,则为包含本机 ANSI 字符串副本的托管字符串;否则,此方法返回 null。</returns>
1370 <param name="ptr">非托管字符串的第一个字符的地址。</param>
1371 <param name="len">要复制的输入字符串的字节数。</param>
1372 <exception cref="T:System.ArgumentException">
1373 <paramref name="len" /> 小于零。</exception>
1375 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1378 <member name="M:System.Runtime.InteropServices.Marshal.PtrToStringBSTR(System.IntPtr)">
1379 <summary>分配托管 <see cref="T:System.String" />,并向其复制存储在非托管内存中的 BSTR 字符串。</summary>
1380 <returns>如果 <paramref name="ptr" /> 参数的值不是 null,则为包含非托管字符串副本的托管字符串;否则,此方法返回 null。</returns>
1381 <param name="ptr">非托管字符串的第一个字符的地址。</param>
1383 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1386 <member name="M:System.Runtime.InteropServices.Marshal.PtrToStringUni(System.IntPtr)">
1387 <summary>分配托管 <see cref="T:System.String" />,并从非托管 Unicode 字符串向其复制第一个空字符之前的所有字符。</summary>
1388 <returns>如果 <paramref name="ptr" /> 参数的值不是 null,则为包含非托管字符串副本的托管字符串;否则,此方法返回 null。</returns>
1389 <param name="ptr">非托管字符串的第一个字符的地址。</param>
1391 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1394 <member name="M:System.Runtime.InteropServices.Marshal.PtrToStringUni(System.IntPtr,System.Int32)">
1395 <summary>分配托管 <see cref="T:System.String" />,并从非托管 Unicode 字符串向其复制指定数目的字符。</summary>
1396 <returns>如果 <paramref name="ptr" /> 参数的值不是 null,则为包含非托管字符串副本的托管字符串;否则,此方法返回 null。</returns>
1397 <param name="ptr">非托管字符串的第一个字符的地址。</param>
1398 <param name="len">要复制的 Unicode 字符数。</param>
1400 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1403 <member name="M:System.Runtime.InteropServices.Marshal.PtrToStructure``1(System.IntPtr)">
1404 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]将数据从非托管内存块封送到泛型类型参数指定的类型的新分配托管对象。</summary>
1405 <returns>一个托管对象,包含 <paramref name="ptr" /> 参数指向的数据。</returns>
1406 <param name="ptr">指向非托管内存块的指针。</param>
1407 <typeparam name="T">要将数据复制到其中的对象的类型。这必须是格式化类或结构。</typeparam>
1408 <exception cref="T:System.ArgumentException">
1409 <paramref name="T" /> 的布局不是连续或显式的。</exception>
1410 <exception cref="T:System.MissingMethodException">
1411 <paramref name="T" /> 指定的类没有可访问的默认值构造函数。 </exception>
1413 <member name="M:System.Runtime.InteropServices.Marshal.PtrToStructure(System.IntPtr,System.Object)">
1414 <summary>将数据从非托管内存块封送到托管对象。</summary>
1415 <param name="ptr">指向非托管内存块的指针。</param>
1416 <param name="structure">将数据复制到其中的对象。这必须是格式化类的实例。</param>
1417 <exception cref="T:System.ArgumentException">结构布局不是连续或显式的。- 或 -结构为装箱的值类型。</exception>
1419 <IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
1420 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1423 <member name="M:System.Runtime.InteropServices.Marshal.PtrToStructure(System.IntPtr,System.Type)">
1424 <summary>将数据从非托管内存块封送到新分配的指定类型的托管对象。</summary>
1425 <returns>一个托管对象,包含 <paramref name="ptr" /> 参数指向的数据。</returns>
1426 <param name="ptr">指向非托管内存块的指针。</param>
1427 <param name="structureType">要创建的对象的类型。此对象必须表示格式化类或结构。</param>
1428 <exception cref="T:System.ArgumentException">
1429 <paramref name="structureType" /> 参数布局不是连续或显式的。- 或 -<paramref name="structureType" /> 参数是泛型类型。</exception>
1430 <exception cref="T:System.ArgumentNullException">
1431 <paramref name="structureType" /> 为 null。</exception>
1432 <exception cref="T:System.MissingMethodException">
1433 <paramref name="structureType" /> 指定的类没有可访问的默认值构造函数。 </exception>
1435 <IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="MemberAccess" />
1436 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1439 <member name="M:System.Runtime.InteropServices.Marshal.PtrToStructure``1(System.IntPtr,``0)">
1440 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]将数据从非托管内存块封送到指定类型的托管内存对象。</summary>
1441 <param name="ptr">指向非托管内存块的指针。</param>
1442 <param name="structure">将数据复制到其中的对象。</param>
1443 <typeparam name="T">
1444 <paramref name="structure" /> 的类型。这必须是格式化的类。</typeparam>
1445 <exception cref="T:System.ArgumentException">结构布局不是连续或显式的。 </exception>
1447 <member name="M:System.Runtime.InteropServices.Marshal.QueryInterface(System.IntPtr,System.Guid@,System.IntPtr@)">
1448 <summary>从 COM 对象请求指向指定接口的指针。</summary>
1449 <returns>一个 HRESULT,指示调用成功还是失败。</returns>
1450 <param name="pUnk">要查询的接口。</param>
1451 <param name="iid">所请求的接口的接口标识符 (IID)。</param>
1452 <param name="ppv">此方法返回时,包含对返回接口的引用。</param>
1454 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1457 <member name="M:System.Runtime.InteropServices.Marshal.ReadByte(System.IntPtr)">
1458 <summary>从非托管内存读取单个字节。</summary>
1459 <returns>从非托管内存读取的字节。</returns>
1460 <param name="ptr">非托管内存中开始读取的地址。</param>
1461 <exception cref="T:System.AccessViolationException">
1462 <paramref name="ptr" /> 不是识别的格式。- 或 -<paramref name="ptr" /> 为 null。- 或 -<paramref name="ptr" /> 无效。</exception>
1464 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1467 <member name="M:System.Runtime.InteropServices.Marshal.ReadByte(System.IntPtr,System.Int32)">
1468 <summary>从非托管内存按给定的偏移量(或索引)读取单个字节。</summary>
1469 <returns>从非托管内存按给定的偏移量读取的字节。</returns>
1470 <param name="ptr">非托管内存中开始读取的基址。</param>
1471 <param name="ofs">额外的字节偏移量,在读取前添加到 <paramref name="ptr" /> 参数中。</param>
1472 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1474 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1477 <member name="M:System.Runtime.InteropServices.Marshal.ReadByte(System.Object,System.Int32)">
1478 <summary>从非托管内存按给定的偏移量(或索引)读取单个字节。</summary>
1479 <returns>从非托管内存按给定的偏移量读取的字节。</returns>
1480 <param name="ptr">非托管内存中源对象的基址。</param>
1481 <param name="ofs">额外的字节偏移量,在读取前添加到 <paramref name="ptr" /> 参数中。</param>
1482 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1483 <exception cref="T:System.ArgumentException">
1484 <paramref name="ptr" /> 是 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。此方法不接受 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 参数。</exception>
1486 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1489 <member name="M:System.Runtime.InteropServices.Marshal.ReadInt16(System.IntPtr)">
1490 <summary>从非托管内存中读取一个 16 位带符号整数。</summary>
1491 <returns>从非托管内存中读取的 16 位带符号整数。</returns>
1492 <param name="ptr">非托管内存中开始读取的地址。</param>
1493 <exception cref="T:System.AccessViolationException">
1494 <paramref name="ptr" /> 不是识别的格式。- 或 -<paramref name="ptr" /> 为 null。- 或 -<paramref name="ptr" /> 无效。</exception>
1496 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1499 <member name="M:System.Runtime.InteropServices.Marshal.ReadInt16(System.IntPtr,System.Int32)">
1500 <summary>从非托管内存按给定的偏移量读取一个 16 位带符号整数。</summary>
1501 <returns>从非托管内存按给定的偏移量读取的 16 位带符号整数。</returns>
1502 <param name="ptr">非托管内存中开始读取的基址。</param>
1503 <param name="ofs">额外的字节偏移量,在读取前添加到 <paramref name="ptr" /> 参数中。</param>
1504 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1506 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1509 <member name="M:System.Runtime.InteropServices.Marshal.ReadInt16(System.Object,System.Int32)">
1510 <summary>从非托管内存按给定的偏移量读取一个 16 位带符号整数。</summary>
1511 <returns>从非托管内存按给定的偏移量读取的 16 位带符号整数。</returns>
1512 <param name="ptr">非托管内存中源对象的基址。</param>
1513 <param name="ofs">额外的字节偏移量,在读取前添加到 <paramref name="ptr" /> 参数中。</param>
1514 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1515 <exception cref="T:System.ArgumentException">
1516 <paramref name="ptr" /> 是 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。此方法不接受 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 参数。</exception>
1518 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1521 <member name="M:System.Runtime.InteropServices.Marshal.ReadInt32(System.IntPtr)">
1522 <summary>从非托管内存中读取一个 32 位带符号整数。</summary>
1523 <returns>从非托管内存中读取的 32 位带符号整数。</returns>
1524 <param name="ptr">非托管内存中开始读取的地址。</param>
1525 <exception cref="T:System.AccessViolationException">
1526 <paramref name="ptr" /> 不是识别的格式。- 或 -<paramref name="ptr" /> 为 null。- 或 -<paramref name="ptr" /> 无效。</exception>
1528 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1531 <member name="M:System.Runtime.InteropServices.Marshal.ReadInt32(System.IntPtr,System.Int32)">
1532 <summary>从非托管内存按给定的偏移量读取一个 32 位带符号整数。</summary>
1533 <returns>从非托管内存中读取的 32 位带符号整数。</returns>
1534 <param name="ptr">非托管内存中开始读取的基址。</param>
1535 <param name="ofs">额外的字节偏移量,在读取前添加到 <paramref name="ptr" /> 参数中。</param>
1536 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1538 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1541 <member name="M:System.Runtime.InteropServices.Marshal.ReadInt32(System.Object,System.Int32)">
1542 <summary>从非托管内存按给定的偏移量读取一个 32 位带符号整数。</summary>
1543 <returns>从非托管内存按给定的偏移量读取的 32 位带符号整数。</returns>
1544 <param name="ptr">非托管内存中源对象的基址。</param>
1545 <param name="ofs">额外的字节偏移量,在读取前添加到 <paramref name="ptr" /> 参数中。</param>
1546 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1547 <exception cref="T:System.ArgumentException">
1548 <paramref name="ptr" /> 是 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。此方法不接受 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 参数。</exception>
1550 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1553 <member name="M:System.Runtime.InteropServices.Marshal.ReadInt64(System.IntPtr)">
1554 <summary>从非托管内存中读取一个 64 位带符号整数。</summary>
1555 <returns>从非托管内存中读取的 64 位带符号整数。</returns>
1556 <param name="ptr">非托管内存中开始读取的地址。</param>
1557 <exception cref="T:System.AccessViolationException">
1558 <paramref name="ptr" /> 不是识别的格式。- 或 -<paramref name="ptr" /> 为 null。- 或 -<paramref name="ptr" /> 无效。</exception>
1560 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1563 <member name="M:System.Runtime.InteropServices.Marshal.ReadInt64(System.IntPtr,System.Int32)">
1564 <summary>从非托管内存按给定的偏移量读取一个 64 位带符号整数。</summary>
1565 <returns>从非托管内存按给定的偏移量读取的 64 位带符号整数。</returns>
1566 <param name="ptr">非托管内存中开始读取的基址。</param>
1567 <param name="ofs">额外的字节偏移量,在读取前添加到 <paramref name="ptr" /> 参数中。</param>
1568 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1570 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1573 <member name="M:System.Runtime.InteropServices.Marshal.ReadInt64(System.Object,System.Int32)">
1574 <summary>从非托管内存按给定的偏移量读取一个 64 位带符号整数。</summary>
1575 <returns>从非托管内存按给定的偏移量读取的 64 位带符号整数。</returns>
1576 <param name="ptr">非托管内存中源对象的基址。</param>
1577 <param name="ofs">额外的字节偏移量,在读取前添加到 <paramref name="ptr" /> 参数中。</param>
1578 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1579 <exception cref="T:System.ArgumentException">
1580 <paramref name="ptr" /> 是 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。此方法不接受 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 参数。</exception>
1582 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1585 <member name="M:System.Runtime.InteropServices.Marshal.ReadIntPtr(System.IntPtr)">
1586 <summary>从非托管内存读取处理器本机大小的整数。</summary>
1587 <returns>从非托管内存读取的整数。在 32 位计算机上返回 32 位整数,在 64 位计算机上返回 64 位整数。</returns>
1588 <param name="ptr">非托管内存中开始读取的地址。</param>
1589 <exception cref="T:System.AccessViolationException">
1590 <paramref name="ptr" /> 不是识别的格式。- 或 -<paramref name="ptr" /> 为 null。- 或 -<paramref name="ptr" /> 无效。</exception>
1592 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1595 <member name="M:System.Runtime.InteropServices.Marshal.ReadIntPtr(System.IntPtr,System.Int32)">
1596 <summary>从非托管内存按给定的偏移量读取处理器本机大小的整数。</summary>
1597 <returns>从非托管内存按给定的偏移量读取的整数。</returns>
1598 <param name="ptr">非托管内存中开始读取的基址。</param>
1599 <param name="ofs">额外的字节偏移量,在读取前添加到 <paramref name="ptr" /> 参数中。</param>
1600 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1602 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1605 <member name="M:System.Runtime.InteropServices.Marshal.ReadIntPtr(System.Object,System.Int32)">
1606 <summary>从非托管内存读取处理器本机大小的整数。</summary>
1607 <returns>从非托管内存按给定的偏移量读取的整数。</returns>
1608 <param name="ptr">非托管内存中源对象的基址。</param>
1609 <param name="ofs">额外的字节偏移量,在读取前添加到 <paramref name="ptr" /> 参数中。</param>
1610 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1611 <exception cref="T:System.ArgumentException">
1612 <paramref name="ptr" /> 是 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。此方法不接受 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 参数。</exception>
1614 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1617 <member name="M:System.Runtime.InteropServices.Marshal.ReAllocCoTaskMem(System.IntPtr,System.Int32)">
1618 <summary>调整以前用 <see cref="M:System.Runtime.InteropServices.Marshal.AllocCoTaskMem(System.Int32)" /> 分配的内存块的大小。</summary>
1619 <returns>一个整数,表示重新分配的内存块的地址。该内存必须用 <see cref="M:System.Runtime.InteropServices.Marshal.FreeCoTaskMem(System.IntPtr)" /> 来释放。</returns>
1620 <param name="pv">指向用 <see cref="M:System.Runtime.InteropServices.Marshal.AllocCoTaskMem(System.Int32)" /> 分配的内存的指针。</param>
1621 <param name="cb">已分配块的新大小。</param>
1622 <exception cref="T:System.OutOfMemoryException">内存不足,无法满足请求。</exception>
1624 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1627 <member name="M:System.Runtime.InteropServices.Marshal.ReAllocHGlobal(System.IntPtr,System.IntPtr)">
1628 <summary>调整以前用 <see cref="M:System.Runtime.InteropServices.Marshal.AllocHGlobal(System.IntPtr)" /> 分配的内存块的大小。</summary>
1629 <returns>指向重新分配的内存的指针。该内存必须用 <see cref="M:System.Runtime.InteropServices.Marshal.FreeHGlobal(System.IntPtr)" /> 来释放。</returns>
1630 <param name="pv">指向用 <see cref="M:System.Runtime.InteropServices.Marshal.AllocHGlobal(System.IntPtr)" /> 分配的内存的指针。</param>
1631 <param name="cb">已分配块的新大小。这不是指针;它是您请求的字节数,转换为类型 <see cref="T:System.IntPtr" />。如果你传递指针,则将其视为大小。</param>
1632 <exception cref="T:System.OutOfMemoryException">内存不足,无法满足请求。</exception>
1634 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1637 <member name="M:System.Runtime.InteropServices.Marshal.Release(System.IntPtr)">
1638 <summary>递减指定接口上的引用计数。</summary>
1640 <paramref name="pUnk" /> 参数指定的接口上引用计数的新值。</returns>
1641 <param name="pUnk">要释放的接口。</param>
1643 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1646 <member name="M:System.Runtime.InteropServices.Marshal.ReleaseComObject(System.Object)">
1647 <summary>递减与指定的 COM 对象关联的指定 运行时可调用包装 (RCW) 的引用计数。</summary>
1648 <returns>与 <paramref name="o" /> 关联的 RCW 的引用计数的新值。此值通常为零,因为无论调用包装 COM 对象的托管客户端有多少,RCW 仅保留对该对象的一次引用。</returns>
1649 <param name="o">要释放的 COM 对象。</param>
1650 <exception cref="T:System.ArgumentException">
1651 <paramref name="o" /> 不是一个有效的 COM 对象。</exception>
1652 <exception cref="T:System.NullReferenceException">
1653 <paramref name="o" /> 为 null。</exception>
1655 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1658 <member name="M:System.Runtime.InteropServices.Marshal.SizeOf``1">
1659 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]返回非托管类型的大小(以字节为单位)。</summary>
1661 <paramref name="T" /> 泛型类型参数指定的类型的大小(以字节为单位)。</returns>
1662 <typeparam name="T">要返回其大小的类型。</typeparam>
1664 <member name="M:System.Runtime.InteropServices.Marshal.SizeOf(System.Object)">
1665 <summary>返回对象的非托管大小(以字节为单位)。</summary>
1666 <returns>非托管代码中指定对象的大小。</returns>
1667 <param name="structure">要返回其大小的对象。</param>
1668 <exception cref="T:System.ArgumentNullException">
1669 <paramref name="structure" /> 参数为 null。</exception>
1671 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1674 <member name="M:System.Runtime.InteropServices.Marshal.SizeOf(System.Type)">
1675 <summary>返回非托管类型的大小(以字节为单位)。</summary>
1676 <returns>非托管代码中指定类型的大小。</returns>
1677 <param name="t">要返回其大小的类型。</param>
1678 <exception cref="T:System.ArgumentException">
1679 <paramref name="t" /> 参数是泛型类型。</exception>
1680 <exception cref="T:System.ArgumentNullException">
1681 <paramref name="t" /> 参数为 null。</exception>
1683 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1686 <member name="M:System.Runtime.InteropServices.Marshal.SizeOf``1(``0)">
1687 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]返回指定类型的对象的非托管大小(以字节为单位)。</summary>
1688 <returns>非托管代码中指定对象的大小(以字节为单位)。</returns>
1689 <param name="structure">要返回其大小的对象。</param>
1690 <typeparam name="T">
1691 <paramref name="structure" /> 参数的类型。</typeparam>
1692 <exception cref="T:System.ArgumentNullException">
1693 <paramref name="structure" /> 参数为 null。</exception>
1695 <member name="M:System.Runtime.InteropServices.Marshal.StringToBSTR(System.String)">
1696 <summary>分配 BSTR 并向其复制托管 <see cref="T:System.String" /> 的内容。</summary>
1697 <returns>指向 BSTR 的非托管指针;如果 <paramref name="s" /> 为 null,则为 0。</returns>
1698 <param name="s">要复制的托管字符串。</param>
1699 <exception cref="T:System.OutOfMemoryException">没有足够的可用内存。</exception>
1700 <exception cref="T:System.ArgumentOutOfRangeException">
1701 <paramref name="s" /> 的长度超出范围。</exception>
1703 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1706 <member name="M:System.Runtime.InteropServices.Marshal.StringToCoTaskMemAnsi(System.String)">
1707 <summary>将托管 <see cref="T:System.String" /> 的内容复制到从非托管 COM 任务分配器分配的内存块。</summary>
1708 <returns>一个整数,表示指向为字符串分配的内存块的指针;如果 <paramref name="s" /> 为 null,则为 0。</returns>
1709 <param name="s">要复制的托管字符串。</param>
1710 <exception cref="T:System.OutOfMemoryException">没有足够的可用内存。</exception>
1711 <exception cref="T:System.ArgumentOutOfRangeException">
1712 <paramref name="s" /> 参数超过了操作系统所允许的最大长度。</exception>
1714 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1717 <member name="M:System.Runtime.InteropServices.Marshal.StringToCoTaskMemUni(System.String)">
1718 <summary>将托管 <see cref="T:System.String" /> 的内容复制到从非托管 COM 任务分配器分配的内存块。</summary>
1719 <returns>一个整数,表示指向为字符串分配的内存块的指针;如果 s 为 null,则为 0。</returns>
1720 <param name="s">要复制的托管字符串。</param>
1721 <exception cref="T:System.ArgumentOutOfRangeException">
1722 <paramref name="s" /> 参数超过了操作系统所允许的最大长度。</exception>
1723 <exception cref="T:System.OutOfMemoryException">没有足够的可用内存。</exception>
1725 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1728 <member name="M:System.Runtime.InteropServices.Marshal.StringToHGlobalAnsi(System.String)">
1729 <summary>将托管 <see cref="T:System.String" /> 中的内容复制到非托管内存,并在复制时转换为 ANSI 格式。</summary>
1730 <returns>非托管内存中将 <paramref name="s" /> 复制到的地址;如果 <paramref name="s" /> 为 null,则为 0。</returns>
1731 <param name="s">要复制的托管字符串。</param>
1732 <exception cref="T:System.OutOfMemoryException">没有足够的可用内存。</exception>
1733 <exception cref="T:System.ArgumentOutOfRangeException">
1734 <paramref name="s" /> 参数超过了操作系统所允许的最大长度。</exception>
1736 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1739 <member name="M:System.Runtime.InteropServices.Marshal.StringToHGlobalUni(System.String)">
1740 <summary>向非托管内存复制托管 <see cref="T:System.String" /> 的内容。</summary>
1741 <returns>非托管内存中将 <paramref name="s" /> 复制到的地址;如果 <paramref name="s" /> 为 null,则为 0。</returns>
1742 <param name="s">要复制的托管字符串。</param>
1743 <exception cref="T:System.OutOfMemoryException">此方法未能分配足够的本机堆内存。</exception>
1744 <exception cref="T:System.ArgumentOutOfRangeException">
1745 <paramref name="s" /> 参数超过了操作系统所允许的最大长度。</exception>
1747 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1750 <member name="M:System.Runtime.InteropServices.Marshal.StructureToPtr(System.Object,System.IntPtr,System.Boolean)">
1751 <summary>将数据从托管对象封送到非托管内存块。</summary>
1752 <param name="structure">包含要封送的数据的托管对象。该对象必须是格式化类的结构或实例。</param>
1753 <param name="ptr">指向非托管内存块的指针,必须在调用此方法之前分配该指针。</param>
1754 <param name="fDeleteOld">如果在此方法复制该数据前在 <paramref name="ptr" /> 参数上调用 <see cref="M:System.Runtime.InteropServices.Marshal.DestroyStructure(System.IntPtr,System.Type)" />, 则为true 。该块必须包含有效的数据。请注意,在内存块已包含数据时传递 false 可能会导致内存泄漏。</param>
1755 <exception cref="T:System.ArgumentException">
1756 <paramref name="structure" /> 一个不是格式化类的引用类型。- 或 -<paramref name="structure" /> 是一个泛型类型。</exception>
1758 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1761 <member name="M:System.Runtime.InteropServices.Marshal.StructureToPtr``1(``0,System.IntPtr,System.Boolean)">
1762 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]将数据从指定类型的托管内存块封送到非托管内存对象。</summary>
1763 <param name="structure">包含要封送的数据的托管对象。该对象必须是格式化类的结构或实例。</param>
1764 <param name="ptr">指向非托管内存块的指针,必须在调用此方法之前分配该指针。 </param>
1765 <param name="fDeleteOld">如果在此方法复制该数据前在 <paramref name="ptr" /> 参数上调用 <see cref="M:System.Runtime.InteropServices.Marshal.DestroyStructure``1(System.IntPtr)" />, 则为true 。该块必须包含有效的数据。请注意,在内存块已包含数据时传递 false 可能会导致内存泄漏。</param>
1766 <typeparam name="T">托管对象的类型。</typeparam>
1767 <exception cref="T:System.ArgumentException">
1768 <paramref name="structure" /> 一个不是格式化类的引用类型。</exception>
1770 <member name="F:System.Runtime.InteropServices.Marshal.SystemDefaultCharSize">
1771 <summary>表示系统上的默认字符大小;Unicode 系统上默认值为 2,ANSI 系统上默认值为 1。此字段为只读。</summary>
1773 <member name="F:System.Runtime.InteropServices.Marshal.SystemMaxDBCSCharSize">
1774 <summary>表示用于当前操作系统的双字节字符集 (DBCS) 的最大大小(以字节为单位)。此字段为只读。</summary>
1776 <member name="M:System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(System.Int32)">
1777 <summary>用特定的失败 HRESULT 值引发异常。</summary>
1778 <param name="errorCode">与所需异常相对应的 HRESULT。</param>
1780 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1783 <member name="M:System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(System.Int32,System.IntPtr)">
1784 <summary>基于指定的 IErrorInfo 接口,以特定的失败 HRESULT 引发异常。</summary>
1785 <param name="errorCode">与所需异常相对应的 HRESULT。</param>
1786 <param name="errorInfo">指向 IErrorInfo 接口的指针,该接口提供有关错误的更多信息。您可以指定 IntPtr(0) 以使用当前 IErrorInfo 接口,或者指定 IntPtr(-1) 以忽略当前 IErrorInfo 接口,并仅从错误代码构造异常。</param>
1788 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1791 <member name="M:System.Runtime.InteropServices.Marshal.UnsafeAddrOfPinnedArrayElement(System.Array,System.Int32)">
1792 <summary>获取指定数组中指定索引处的元素的地址。</summary>
1794 <paramref name="arr" /> 内的 <paramref name="index" /> 的地址。</returns>
1795 <param name="arr">包含所需元素的数组。</param>
1796 <param name="index">所需元素的 <paramref name="arr" /> 参数中的索引。</param>
1798 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1801 <member name="M:System.Runtime.InteropServices.Marshal.UnsafeAddrOfPinnedArrayElement``1(``0[],System.Int32)">
1802 <summary>[在 .NET Framework 4.5.1 和更高版本中受支持]获取指定类型的数组中指定索引处的元素的地址。</summary>
1804 <paramref name="arr" /> 中的 <paramref name="index" /> 的地址。</returns>
1805 <param name="arr">包含所需元素的数组。</param>
1806 <param name="index">
1807 <paramref name="arr" /> 数组中所需元素的索引。</param>
1808 <typeparam name="T">数组类型。</typeparam>
1810 <member name="M:System.Runtime.InteropServices.Marshal.WriteByte(System.IntPtr,System.Byte)">
1811 <summary>将单个字节值写入到非托管内存。</summary>
1812 <param name="ptr">非托管内存中要写入的地址。</param>
1813 <param name="val">要写入的值。</param>
1814 <exception cref="T:System.AccessViolationException">
1815 <paramref name="ptr" /> 不是识别的格式。- 或 -<paramref name="ptr" /> 为 null。- 或 -<paramref name="ptr" /> 无效。</exception>
1817 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1820 <member name="M:System.Runtime.InteropServices.Marshal.WriteByte(System.IntPtr,System.Int32,System.Byte)">
1821 <summary>按指定偏移量将单字节值写入非托管内存。</summary>
1822 <param name="ptr">非托管内存中要写入的基址。</param>
1823 <param name="ofs">额外的字节偏移量,在写入前添加到 <paramref name="ptr" /> 参数中。</param>
1824 <param name="val">要写入的值。</param>
1825 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1827 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1830 <member name="M:System.Runtime.InteropServices.Marshal.WriteByte(System.Object,System.Int32,System.Byte)">
1831 <summary>按指定偏移量将单字节值写入非托管内存。</summary>
1832 <param name="ptr">非托管内存中目标对象的基址。</param>
1833 <param name="ofs">额外的字节偏移量,在写入前添加到 <paramref name="ptr" /> 参数中。</param>
1834 <param name="val">要写入的值。</param>
1835 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1836 <exception cref="T:System.ArgumentException">
1837 <paramref name="ptr" /> 是 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。此方法不接受 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 参数。</exception>
1839 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1842 <member name="M:System.Runtime.InteropServices.Marshal.WriteInt16(System.IntPtr,System.Char)">
1843 <summary>将一个字符作为 16 位整数值写入非托管内存。</summary>
1844 <param name="ptr">非托管内存中要写入的地址。</param>
1845 <param name="val">要写入的值。</param>
1846 <exception cref="T:System.AccessViolationException">
1847 <paramref name="ptr" /> 不是识别的格式。- 或 -<paramref name="ptr" /> 为 null。- 或 -<paramref name="ptr" /> 无效。</exception>
1849 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1852 <member name="M:System.Runtime.InteropServices.Marshal.WriteInt16(System.IntPtr,System.Int16)">
1853 <summary>将 16 位整数值写入非托管内存。</summary>
1854 <param name="ptr">非托管内存中要写入的地址。</param>
1855 <param name="val">要写入的值。</param>
1856 <exception cref="T:System.AccessViolationException">
1857 <paramref name="ptr" /> 不是识别的格式。- 或 -<paramref name="ptr" /> 为 null。- 或 -<paramref name="ptr" /> 无效。</exception>
1859 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1862 <member name="M:System.Runtime.InteropServices.Marshal.WriteInt16(System.IntPtr,System.Int32,System.Char)">
1863 <summary>按指定偏移量将 16 位带符号整数值写入非托管内存。</summary>
1864 <param name="ptr">本机堆中要写入的基址。</param>
1865 <param name="ofs">额外的字节偏移量,在写入前添加到 <paramref name="ptr" /> 参数中。</param>
1866 <param name="val">要写入的值。</param>
1867 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1869 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1872 <member name="M:System.Runtime.InteropServices.Marshal.WriteInt16(System.IntPtr,System.Int32,System.Int16)">
1873 <summary>按指定偏移量将 16 位带符号整数值写入非托管内存。</summary>
1874 <param name="ptr">非托管内存中要写入的基址。</param>
1875 <param name="ofs">额外的字节偏移量,在写入前添加到 <paramref name="ptr" /> 参数中。</param>
1876 <param name="val">要写入的值。</param>
1877 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1879 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1882 <member name="M:System.Runtime.InteropServices.Marshal.WriteInt16(System.Object,System.Int32,System.Char)">
1883 <summary>按指定偏移量将 16 位带符号整数值写入非托管内存。</summary>
1884 <param name="ptr">非托管内存中目标对象的基址。</param>
1885 <param name="ofs">额外的字节偏移量,在写入前添加到 <paramref name="ptr" /> 参数中。</param>
1886 <param name="val">要写入的值。</param>
1887 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1888 <exception cref="T:System.ArgumentException">
1889 <paramref name="ptr" /> 是 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。此方法不接受 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 参数。</exception>
1891 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1894 <member name="M:System.Runtime.InteropServices.Marshal.WriteInt16(System.Object,System.Int32,System.Int16)">
1895 <summary>按指定偏移量将 16 位带符号整数值写入非托管内存。</summary>
1896 <param name="ptr">非托管内存中目标对象的基址。</param>
1897 <param name="ofs">额外的字节偏移量,在写入前添加到 <paramref name="ptr" /> 参数中。</param>
1898 <param name="val">要写入的值。</param>
1899 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1900 <exception cref="T:System.ArgumentException">
1901 <paramref name="ptr" /> 是 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。此方法不接受 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 参数。</exception>
1903 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1906 <member name="M:System.Runtime.InteropServices.Marshal.WriteInt32(System.IntPtr,System.Int32)">
1907 <summary>将 32 位带符号整数值写入非托管内存。</summary>
1908 <param name="ptr">非托管内存中要写入的地址。</param>
1909 <param name="val">要写入的值。</param>
1910 <exception cref="T:System.AccessViolationException">
1911 <paramref name="ptr" /> 不是识别的格式。- 或 -<paramref name="ptr" /> 为 null。- 或 -<paramref name="ptr" /> 无效。</exception>
1913 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1916 <member name="M:System.Runtime.InteropServices.Marshal.WriteInt32(System.IntPtr,System.Int32,System.Int32)">
1917 <summary>按指定偏移量将 32 位带符号整数值写入非托管内存。</summary>
1918 <param name="ptr">非托管内存中要写入的基址。</param>
1919 <param name="ofs">额外的字节偏移量,在写入前添加到 <paramref name="ptr" /> 参数中。</param>
1920 <param name="val">要写入的值。</param>
1921 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1923 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1926 <member name="M:System.Runtime.InteropServices.Marshal.WriteInt32(System.Object,System.Int32,System.Int32)">
1927 <summary>按指定偏移量将 32 位带符号整数值写入非托管内存。</summary>
1928 <param name="ptr">非托管内存中目标对象的基址。</param>
1929 <param name="ofs">额外的字节偏移量,在写入前添加到 <paramref name="ptr" /> 参数中。</param>
1930 <param name="val">要写入的值。</param>
1931 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1932 <exception cref="T:System.ArgumentException">
1933 <paramref name="ptr" /> 是 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。此方法不接受 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 参数。</exception>
1935 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1938 <member name="M:System.Runtime.InteropServices.Marshal.WriteInt64(System.IntPtr,System.Int32,System.Int64)">
1939 <summary>按指定偏移量将 64 位带符号整数值写入非托管内存。</summary>
1940 <param name="ptr">非托管内存中要写入的基址。</param>
1941 <param name="ofs">额外的字节偏移量,在写入前添加到 <paramref name="ptr" /> 参数中。</param>
1942 <param name="val">要写入的值。</param>
1943 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1945 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1948 <member name="M:System.Runtime.InteropServices.Marshal.WriteInt64(System.IntPtr,System.Int64)">
1949 <summary>将 64 位带符号整数值写入非托管内存。</summary>
1950 <param name="ptr">非托管内存中要写入的地址。</param>
1951 <param name="val">要写入的值。</param>
1952 <exception cref="T:System.AccessViolationException">
1953 <paramref name="ptr" /> 不是识别的格式。- 或 -<paramref name="ptr" /> 为 null。- 或 -<paramref name="ptr" /> 无效。</exception>
1955 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1958 <member name="M:System.Runtime.InteropServices.Marshal.WriteInt64(System.Object,System.Int32,System.Int64)">
1959 <summary>按指定偏移量将 64 位带符号整数值写入非托管内存。</summary>
1960 <param name="ptr">非托管内存中目标对象的基址。</param>
1961 <param name="ofs">额外的字节偏移量,在写入前添加到 <paramref name="ptr" /> 参数中。</param>
1962 <param name="val">要写入的值。</param>
1963 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1964 <exception cref="T:System.ArgumentException">
1965 <paramref name="ptr" /> 是 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。此方法不接受 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 参数。</exception>
1967 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1970 <member name="M:System.Runtime.InteropServices.Marshal.WriteIntPtr(System.IntPtr,System.Int32,System.IntPtr)">
1971 <summary>按指定的偏移量将一个处理器本机大小的整数值写入非托管内存。</summary>
1972 <param name="ptr">非托管内存中要写入的基址。</param>
1973 <param name="ofs">额外的字节偏移量,在写入前添加到 <paramref name="ptr" /> 参数中。</param>
1974 <param name="val">要写入的值。</param>
1975 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1977 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1980 <member name="M:System.Runtime.InteropServices.Marshal.WriteIntPtr(System.IntPtr,System.IntPtr)">
1981 <summary>将一个处理器本机大小的整数值写入非托管内存。</summary>
1982 <param name="ptr">非托管内存中要写入的地址。</param>
1983 <param name="val">要写入的值。</param>
1984 <exception cref="T:System.AccessViolationException">
1985 <paramref name="ptr" /> 不是识别的格式。- 或 -<paramref name="ptr" /> 为 null。- 或 -<paramref name="ptr" /> 无效。</exception>
1987 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1990 <member name="M:System.Runtime.InteropServices.Marshal.WriteIntPtr(System.Object,System.Int32,System.IntPtr)">
1991 <summary>将一个处理器本机大小的整数值写入非托管内存。</summary>
1992 <param name="ptr">非托管内存中目标对象的基址。</param>
1993 <param name="ofs">额外的字节偏移量,在写入前添加到 <paramref name="ptr" /> 参数中。</param>
1994 <param name="val">要写入的值。</param>
1995 <exception cref="T:System.AccessViolationException">基址 (<paramref name="ptr" />) 加上偏移字节(<paramref name="ofs" />) 可产生空或无效地址。</exception>
1996 <exception cref="T:System.ArgumentException">
1997 <paramref name="ptr" /> 是 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 对象。此方法不接受 <see cref="T:System.Runtime.InteropServices.ArrayWithOffset" /> 参数。</exception>
1999 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
2002 <member name="M:System.Runtime.InteropServices.Marshal.ZeroFreeBSTR(System.IntPtr)">
2003 <summary>释放 BSTR 指针,该指针是使用 <see cref="M:System.Runtime.InteropServices.Marshal.SecureStringToBSTR(System.Security.SecureString)" /> 方法分配的。</summary>
2004 <param name="s">要释放的 BSTR 的地址。</param>
2006 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
2009 <member name="M:System.Runtime.InteropServices.Marshal.ZeroFreeCoTaskMemAnsi(System.IntPtr)">
2010 <summary>释放非托管字符串指针,该指针是使用 <see cref="M:System.Runtime.InteropServices.Marshal.SecureStringToCoTaskMemAnsi(System.Security.SecureString)" /> 方法分配的。</summary>
2011 <param name="s">要释放的非托管字符串的地址。</param>
2013 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
2016 <member name="M:System.Runtime.InteropServices.Marshal.ZeroFreeCoTaskMemUnicode(System.IntPtr)">
2017 <summary>释放非托管字符串指针,该指针是使用 <see cref="M:System.Runtime.InteropServices.Marshal.SecureStringToCoTaskMemUnicode(System.Security.SecureString)" /> 方法分配的。</summary>
2018 <param name="s">要释放的非托管字符串的地址。</param>
2020 <member name="M:System.Runtime.InteropServices.Marshal.ZeroFreeGlobalAllocAnsi(System.IntPtr)">
2021 <summary>释放非托管字符串指针,该指针是使用 <see cref="M:System.Runtime.InteropServices.Marshal.SecureStringToGlobalAllocAnsi(System.Security.SecureString)" /> 方法分配的。</summary>
2022 <param name="s">要释放的非托管字符串的地址。</param>
2024 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
2027 <member name="M:System.Runtime.InteropServices.Marshal.ZeroFreeGlobalAllocUnicode(System.IntPtr)">
2028 <summary>释放非托管字符串指针,该指针是使用 <see cref="M:System.Runtime.InteropServices.Marshal.SecureStringToGlobalAllocUnicode(System.Security.SecureString)" /> 方法分配的。</summary>
2029 <param name="s">要释放的非托管字符串的地址。</param>
2031 <member name="T:System.Runtime.InteropServices.MarshalAsAttribute">
2032 <summary>指示如何在托管代码和非托管代码之间封送数据。</summary>
2034 <member name="M:System.Runtime.InteropServices.MarshalAsAttribute.#ctor(System.Int16)">
2035 <summary>使用指定的 <see cref="T:System.Runtime.InteropServices.UnmanagedType" /> 值初始化 <see cref="T:System.Runtime.InteropServices.MarshalAsAttribute" /> 类的新实例。</summary>
2036 <param name="unmanagedType">数据将封送为的值。</param>
2038 <member name="M:System.Runtime.InteropServices.MarshalAsAttribute.#ctor(System.Runtime.InteropServices.UnmanagedType)">
2039 <summary>使用指定的 <see cref="T:System.Runtime.InteropServices.UnmanagedType" /> 枚举成员初始化 <see cref="T:System.Runtime.InteropServices.MarshalAsAttribute" /> 类的新实例。</summary>
2040 <param name="unmanagedType">数据将封送为的值。</param>
2042 <member name="F:System.Runtime.InteropServices.MarshalAsAttribute.ArraySubType">
2043 <summary>指定非托管 <see cref="F:System.Runtime.InteropServices.UnmanagedType.LPArray" /> 或 <see cref="F:System.Runtime.InteropServices.UnmanagedType.ByValArray" /> 的元素类型。</summary>
2045 <member name="F:System.Runtime.InteropServices.MarshalAsAttribute.IidParameterIndex">
2046 <summary>指定 COM 使用的非托管 iid_is 属性的参数索引。</summary>
2048 <member name="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalCookie">
2049 <summary>向自定义封送拆收器提供附加信息。</summary>
2051 <member name="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalType">
2052 <summary>指定自定义封送拆收器的完全限定名。</summary>
2054 <member name="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalTypeRef">
2055 <summary>将 <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalType" /> 作为类型实现。</summary>
2057 <member name="F:System.Runtime.InteropServices.MarshalAsAttribute.SafeArraySubType">
2058 <summary>指示 <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" /> 的元素类型。</summary>
2060 <member name="F:System.Runtime.InteropServices.MarshalAsAttribute.SafeArrayUserDefinedSubType">
2061 <summary>指示用户定义的 <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" /> 元素类型。</summary>
2063 <member name="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeConst">
2064 <summary>指示固定长度数组中的元素数,或要导入的字符串中的字符(不是字节)数。</summary>
2066 <member name="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex">
2067 <summary>指示从零开始的参数,该参数包含数组元素的计数,与 COM 中的 size_is 类似。</summary>
2069 <member name="P:System.Runtime.InteropServices.MarshalAsAttribute.Value">
2070 <summary>获取 <see cref="T:System.Runtime.InteropServices.UnmanagedType" /> 值,数据将被作为该值封送。</summary>
2072 <see cref="T:System.Runtime.InteropServices.UnmanagedType" /> 值,数据将被作为该值封送。</returns>
2074 <member name="T:System.Runtime.InteropServices.MarshalDirectiveException">
2075 <summary>当封送拆收器遇到它不支持的 <see cref="T:System.Runtime.InteropServices.MarshalAsAttribute" /> 时由该封送拆收器引发的异常。</summary>
2077 <member name="M:System.Runtime.InteropServices.MarshalDirectiveException.#ctor">
2078 <summary>使用默认属性初始化 MarshalDirectiveException 类的新实例。</summary>
2080 <member name="M:System.Runtime.InteropServices.MarshalDirectiveException.#ctor(System.String)">
2081 <summary>使用指定的错误信息初始化 MarshalDirectiveException 类的新实例。</summary>
2082 <param name="message">指定异常原因的错误信息。</param>
2084 <member name="M:System.Runtime.InteropServices.MarshalDirectiveException.#ctor(System.String,System.Exception)">
2085 <summary>使用指定的错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Runtime.InteropServices.MarshalDirectiveException" /> 类的新实例。</summary>
2086 <param name="message">解释异常原因的错误信息。</param>
2087 <param name="inner">导致当前异常的异常。如果 <paramref name="inner" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
2089 <member name="T:System.Runtime.InteropServices.OptionalAttribute">
2090 <summary>指示参数是可选的。</summary>
2092 <member name="M:System.Runtime.InteropServices.OptionalAttribute.#ctor">
2093 <summary>使用默认值初始化 OptionalAttribute 类的新实例。</summary>
2095 <member name="T:System.Runtime.InteropServices.PreserveSigAttribute">
2096 <summary>指示应取消在 COM 互操作调用期间发生的 HRESULT 或 retval 签名转换。</summary>
2098 <member name="M:System.Runtime.InteropServices.PreserveSigAttribute.#ctor">
2099 <summary>初始化 <see cref="T:System.Runtime.InteropServices.PreserveSigAttribute" /> 类的新实例。</summary>
2101 <member name="T:System.Runtime.InteropServices.SafeArrayRankMismatchException">
2102 <summary>当传入的 SAFEARRAY 的秩与托管签名中指定的秩不匹配时引发的异常。</summary>
2104 <member name="M:System.Runtime.InteropServices.SafeArrayRankMismatchException.#ctor">
2105 <summary>使用默认值初始化 SafeArrayTypeMismatchException 类的新实例。</summary>
2107 <member name="M:System.Runtime.InteropServices.SafeArrayRankMismatchException.#ctor(System.String)">
2108 <summary>用指定消息初始化 SafeArrayRankMismatchException 类的新实例。</summary>
2109 <param name="message">指示异常原因的消息。</param>
2111 <member name="M:System.Runtime.InteropServices.SafeArrayRankMismatchException.#ctor(System.String,System.Exception)">
2112 <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Runtime.InteropServices.SafeArrayRankMismatchException" /> 类的新实例。</summary>
2113 <param name="message">解释异常原因的错误信息。</param>
2114 <param name="inner">导致当前异常的异常。如果 <paramref name="inner" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
2116 <member name="T:System.Runtime.InteropServices.SafeArrayTypeMismatchException">
2117 <summary>当传入的 SAFEARRAY 的类型与托管签名中指定的类型不匹配时引发的异常。</summary>
2119 <member name="M:System.Runtime.InteropServices.SafeArrayTypeMismatchException.#ctor">
2120 <summary>使用默认值初始化 SafeArrayTypeMismatchException 类的新实例。</summary>
2122 <member name="M:System.Runtime.InteropServices.SafeArrayTypeMismatchException.#ctor(System.String)">
2123 <summary>用指定消息初始化 SafeArrayTypeMismatchException 类的新实例。</summary>
2124 <param name="message">指示异常原因的消息。</param>
2126 <member name="M:System.Runtime.InteropServices.SafeArrayTypeMismatchException.#ctor(System.String,System.Exception)">
2127 <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Runtime.InteropServices.SafeArrayTypeMismatchException" /> 类的新实例。</summary>
2128 <param name="message">解释异常原因的错误信息。</param>
2129 <param name="inner">导致当前异常的异常。如果 <paramref name="inner" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
2131 <member name="T:System.Runtime.InteropServices.SafeBuffer">
2132 <summary>提供可用于读写的受控内存缓冲区。尝试访问受控缓冲区(不足和溢出)之外的访问内存将引发异常。</summary>
2134 <member name="M:System.Runtime.InteropServices.SafeBuffer.#ctor(System.Boolean)">
2135 <summary>创建 <see cref="T:System.Runtime.InteropServices.SafeBuffer" /> 类的新实例,并指定是否可靠地释放缓冲区句柄。</summary>
2136 <param name="ownsHandle">如果为 true,则在完成阶段可靠地释放句柄;如果为 false,则阻止可靠释放(建议不要这样做)。</param>
2138 <member name="M:System.Runtime.InteropServices.SafeBuffer.AcquirePointer(System.Byte*@)">
2139 <summary>从内存块的 <see cref="T:System.Runtime.InteropServices.SafeBuffer" /> 对象中获取一个指针。</summary>
2140 <param name="pointer">通过引用传递的字节指针,用于从 <see cref="T:System.Runtime.InteropServices.SafeBuffer" /> 对象内接收指针。您必须在调用此方法之前将此指针设置为 null。</param>
2141 <exception cref="T:System.InvalidOperationException">未调用 <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> 方法。</exception>
2143 <member name="P:System.Runtime.InteropServices.SafeBuffer.ByteLength">
2144 <summary>获取缓冲区的大小(以字节为单位)。</summary>
2145 <returns>内存缓冲区中的字节数。</returns>
2146 <exception cref="T:System.InvalidOperationException">未调用 <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> 方法。</exception>
2148 <member name="M:System.Runtime.InteropServices.SafeBuffer.Initialize``1(System.UInt32)">
2149 <summary>通过指定值类型的数目,定义内存区域的分配大小。在使用 <see cref="T:System.Runtime.InteropServices.SafeBuffer" /> 实例之前,必须调用此方法。</summary>
2150 <param name="numElements">要为其分配内存的值类型的元素数。</param>
2151 <typeparam name="T">要为其分配内存的值类型。</typeparam>
2152 <exception cref="T:System.ArgumentOutOfRangeException">
2153 <paramref name="numElements" /> 小于零。- 或 -<paramref name="numElements" /> 与每个元素大小的乘积大于可用地址空间。</exception>
2155 <member name="M:System.Runtime.InteropServices.SafeBuffer.Initialize(System.UInt32,System.UInt32)">
2156 <summary>通过使用指定的元素数和元素大小,指定内存缓冲区的分配大小。在使用 <see cref="T:System.Runtime.InteropServices.SafeBuffer" /> 实例之前,必须调用此方法。</summary>
2157 <param name="numElements">缓冲区中元素的数目。</param>
2158 <param name="sizeOfEachElement">缓冲区中每个元素的大小。</param>
2159 <exception cref="T:System.ArgumentOutOfRangeException">
2160 <paramref name="numElements" /> 小于零。- 或 -<paramref name="sizeOfEachElement" /> 小于零。- 或 -<paramref name="numElements" /> 与 <paramref name="sizeOfEachElement" /> 的乘积大于可用地址空间。</exception>
2162 <member name="M:System.Runtime.InteropServices.SafeBuffer.Initialize(System.UInt64)">
2163 <summary>定义内存区域的分配大小(以字节为单位)。在使用 <see cref="T:System.Runtime.InteropServices.SafeBuffer" /> 实例之前,必须调用此方法。</summary>
2164 <param name="numBytes">缓冲区中的字节数。</param>
2165 <exception cref="T:System.ArgumentOutOfRangeException">
2166 <paramref name="numBytes" /> 小于零。- 或 -<paramref name="numBytes" /> 大于可用地址空间。</exception>
2168 <member name="P:System.Runtime.InteropServices.SafeBuffer.IsInvalid"></member>
2169 <member name="M:System.Runtime.InteropServices.SafeBuffer.Read``1(System.UInt64)">
2170 <summary>按指定的偏移量从内存中读取值类型。</summary>
2171 <returns>从内存中读取的值类型。</returns>
2172 <param name="byteOffset">从中读取值类型的位置。可能必须考虑对齐问题。</param>
2173 <typeparam name="T">要读取的值类型。</typeparam>
2174 <exception cref="T:System.InvalidOperationException">未调用 <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> 方法。</exception>
2176 <member name="M:System.Runtime.InteropServices.SafeBuffer.ReadArray``1(System.UInt64,``0[],System.Int32,System.Int32)">
2177 <summary>从自偏移量开始的内存中读取指定数量的值类型,并将它们写入从索引开始的数组中。</summary>
2178 <param name="byteOffset">从其开始读取的位置。</param>
2179 <param name="array">要写入的输出数组。</param>
2180 <param name="index">输出数组中要开始写入的位置。</param>
2181 <param name="count">要从输入数组中读取并写入输出数组的值类型的数目。</param>
2182 <typeparam name="T">要读取的值类型。</typeparam>
2183 <exception cref="T:System.ArgumentOutOfRangeException">
2184 <paramref name="index" /> 小于零。- 或 -<paramref name="count" /> 小于零。</exception>
2185 <exception cref="T:System.ArgumentNullException">
2186 <paramref name="array" /> 为 null。</exception>
2187 <exception cref="T:System.ArgumentException">数组的长度减去索引小于 <paramref name="count" /> 。</exception>
2188 <exception cref="T:System.InvalidOperationException">未调用 <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> 方法。</exception>
2190 <member name="M:System.Runtime.InteropServices.SafeBuffer.ReleasePointer">
2191 <summary>释放由 <see cref="M:System.Runtime.InteropServices.SafeBuffer.AcquirePointer(System.Byte*@)" /> 方法获取的指针。</summary>
2192 <exception cref="T:System.InvalidOperationException">未调用 <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> 方法。</exception>
2194 <member name="M:System.Runtime.InteropServices.SafeBuffer.Write``1(System.UInt64,``0)">
2195 <summary>将值类型写入内存中的给定位置。</summary>
2196 <param name="byteOffset">开始写入的位置。可能必须考虑对齐问题。</param>
2197 <param name="value">要写入的值。</param>
2198 <typeparam name="T">要写入的值类型。</typeparam>
2199 <exception cref="T:System.InvalidOperationException">未调用 <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> 方法。</exception>
2201 <member name="M:System.Runtime.InteropServices.SafeBuffer.WriteArray``1(System.UInt64,``0[],System.Int32,System.Int32)">
2202 <summary>通过读取从输入数组中指定位置开始的字节,将指定数目的值类型写入内存位置。</summary>
2203 <param name="byteOffset">内存中要写入的位置。</param>
2204 <param name="array">输入数组。</param>
2205 <param name="index">数组中从其开始读取的偏移量。</param>
2206 <param name="count">要写入的值类型的数目。</param>
2207 <typeparam name="T">要写入的值类型。</typeparam>
2208 <exception cref="T:System.ArgumentNullException">
2209 <paramref name="array" /> 为 null。</exception>
2210 <exception cref="T:System.ArgumentOutOfRangeException">
2211 <paramref name="index" /> 或 <paramref name="count" /> 小于零。</exception>
2212 <exception cref="T:System.ArgumentException">输入数组的长度减去 <paramref name="index" /> 小于 <paramref name="count" />。</exception>
2213 <exception cref="T:System.InvalidOperationException">未调用 <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> 方法。</exception>
2215 <member name="T:System.Runtime.InteropServices.SEHException">
2216 <summary>表示结构化异常处理程序 (SEH) 错误。</summary>
2218 <member name="M:System.Runtime.InteropServices.SEHException.#ctor">
2219 <summary>初始化 <see cref="T:System.Runtime.InteropServices.SEHException" /> 类的新实例。</summary>
2221 <member name="M:System.Runtime.InteropServices.SEHException.#ctor(System.String)">
2222 <summary>用指定的消息初始化 <see cref="T:System.Runtime.InteropServices.SEHException" /> 类的新实例。</summary>
2223 <param name="message">指示异常原因的消息。</param>
2225 <member name="M:System.Runtime.InteropServices.SEHException.#ctor(System.String,System.Exception)">
2226 <summary>使用指定的错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Runtime.InteropServices.SEHException" /> 类的新实例。</summary>
2227 <param name="message">解释异常原因的错误信息。</param>
2228 <param name="inner">导致当前异常的异常。如果 <paramref name="inner" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
2230 <member name="M:System.Runtime.InteropServices.SEHException.CanResume">
2231 <summary>指示是否可以从异常中恢复,以及代码是否可以从引发异常的地方继续。</summary>
2232 <returns>始终为 false,因为未实现可恢复的异常。</returns>
2234 <member name="T:System.Runtime.InteropServices.TypeIdentifierAttribute">
2235 <summary>提供对类型等效性的支持。</summary>
2237 <member name="M:System.Runtime.InteropServices.TypeIdentifierAttribute.#ctor">
2238 <summary>创建 <see cref="T:System.Runtime.InteropServices.TypeIdentifierAttribute" /> 类的新实例。</summary>
2240 <member name="M:System.Runtime.InteropServices.TypeIdentifierAttribute.#ctor(System.String,System.String)">
2241 <summary>用指定的范围和标识符创建 <see cref="T:System.Runtime.InteropServices.TypeIdentifierAttribute" /> 类的新实例。</summary>
2242 <param name="scope">第一个类型等效性字符串。</param>
2243 <param name="identifier">第二个类型等效性字符串。</param>
2245 <member name="P:System.Runtime.InteropServices.TypeIdentifierAttribute.Identifier">
2246 <summary>获取传递给 <see cref="M:System.Runtime.InteropServices.TypeIdentifierAttribute.#ctor(System.String,System.String)" /> 构造函数的 <paramref name="identifier" /> 参数的值。</summary>
2247 <returns>构造函数的 <paramref name="identifier" /> 参数的值。</returns>
2249 <member name="P:System.Runtime.InteropServices.TypeIdentifierAttribute.Scope">
2250 <summary>获取传递给 <see cref="M:System.Runtime.InteropServices.TypeIdentifierAttribute.#ctor(System.String,System.String)" /> 构造函数的 <paramref name="scope" /> 参数的值。</summary>
2251 <returns>构造函数的 <paramref name="scope" /> 参数的值。</returns>
2253 <member name="T:System.Runtime.InteropServices.UnknownWrapper">
2254 <summary>对封送拆收器应该将其作为 VT_UNKNOWN 封送的对象进行包装。</summary>
2256 <member name="M:System.Runtime.InteropServices.UnknownWrapper.#ctor(System.Object)">
2257 <summary>使用要被包装的对象初始化 <see cref="T:System.Runtime.InteropServices.UnknownWrapper" /> 类的新实例。</summary>
2258 <param name="obj">被包装的对象。</param>
2260 <member name="P:System.Runtime.InteropServices.UnknownWrapper.WrappedObject">
2261 <summary>获取此包装包含的对象。</summary>
2262 <returns>被包装的对象。</returns>
2264 <member name="T:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute">
2265 <summary>控制作为非托管函数指针传入或传出非托管代码的委托签名的封送行为。此类不能被继承。</summary>
2267 <member name="M:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute.#ctor(System.Runtime.InteropServices.CallingConvention)">
2268 <summary>使用指定的调用约定初始化 <see cref="T:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute" /> 类的新实例。</summary>
2269 <param name="callingConvention">指定的调用约定。</param>
2271 <member name="F:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute.BestFitMapping">
2272 <summary>将 Unicode 字符转换为 ANSI 字符时,启用或禁用最佳映射行为。</summary>
2274 <member name="P:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute.CallingConvention">
2275 <summary>获取调用约定的值。</summary>
2277 <see cref="M:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute.#ctor(System.Runtime.InteropServices.CallingConvention)" /> 构造函数指定的调用约定的值。</returns>
2279 <member name="F:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute.CharSet">
2280 <summary>指示如何向方法封送字符串参数,并控制名称重整。</summary>
2282 <member name="F:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute.SetLastError">
2283 <summary>指示被调用方在从属性化方法返回之前是否调用 SetLastError Win32 API 函数。</summary>
2285 <member name="F:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute.ThrowOnUnmappableChar">
2286 <summary>启用或禁用在遇到已被转换为 ANSI“?”字符的无法映射的 Unicode 字符时引发异常。</summary>
2288 <member name="T:System.Runtime.InteropServices.UnmanagedType">
2289 <summary>指定如何将参数或字段封送到非托管代码。</summary>
2291 <member name="F:System.Runtime.InteropServices.UnmanagedType.AnsiBStr">
2292 <summary>ANSI 字符串是一个带有长度前缀的单字节字符串。可以在 <see cref="T:System.String" /> 数据类型上使用此成员。</summary>
2294 <member name="F:System.Runtime.InteropServices.UnmanagedType.AsAny">
2295 <summary>一个动态类型,将在运行时确定对象的类型,并将该对象作为所确定的类型进行封送处理。该成员仅对平台调用方法有效。</summary>
2297 <member name="F:System.Runtime.InteropServices.UnmanagedType.Bool">
2298 <summary>4 字节布尔值(true != 0, false = 0)。这是 Win32 BOOL 类型。</summary>
2300 <member name="F:System.Runtime.InteropServices.UnmanagedType.BStr">
2301 <summary>长度前缀为双字节的 Unicode 字符串。可以在 <see cref="T:System.String" /> 数据类型上使用此成员(它是 COM 中的默认字符串)。</summary>
2303 <member name="F:System.Runtime.InteropServices.UnmanagedType.ByValArray">
2304 <summary>当 <see cref="P:System.Runtime.InteropServices.MarshalAsAttribute.Value" /> 属性被设置为 ByValArray 时,必须设置 <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeConst" /> 字段以指示该数组中的元素数。当需要区分字符串类型时,<see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.ArraySubType" /> 字段可以选择包含数组元素的 <see cref="T:System.Runtime.InteropServices.UnmanagedType" />。此 <see cref="T:System.Runtime.InteropServices.UnmanagedType" /> 只可用于作为结构中其元素作为字段出现的数组。</summary>
2306 <member name="F:System.Runtime.InteropServices.UnmanagedType.ByValTStr">
2307 <summary>用于在结构中出现的内联定长字符数组。与 <see cref="F:System.Runtime.InteropServices.UnmanagedType.ByValTStr" /> 一起使用的字符类型由应用于包含结构的 <see cref="T:System.Runtime.InteropServices.StructLayoutAttribute" /> 特性的 <see cref="T:System.Runtime.InteropServices.CharSet" /> 参数确定。应始终使用 <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeConst" /> 字段来指示数组的大小。</summary>
2309 <member name="F:System.Runtime.InteropServices.UnmanagedType.Currency">
2310 <summary>货币类型。在 <see cref="T:System.Decimal" /> 上使用,以将十进制数值作为 COM 货币类型而不是 Decimal 封送。</summary>
2312 <member name="F:System.Runtime.InteropServices.UnmanagedType.Error">
2313 <summary>此与 <see cref="F:System.Runtime.InteropServices.UnmanagedType.I4" /> 或 <see cref="F:System.Runtime.InteropServices.UnmanagedType.U4" /> 关联的本机类型将导致参数作为导出类型库中的 HRESULT 导出。</summary>
2315 <member name="F:System.Runtime.InteropServices.UnmanagedType.FunctionPtr">
2316 <summary>一个可用作 C 样式函数指针的整数。可将此成员用于 <see cref="T:System.Delegate" /> 数据类型或从 <see cref="T:System.Delegate" /> 继承的类型。</summary>
2318 <member name="F:System.Runtime.InteropServices.UnmanagedType.HString">
2319 <summary>一个 Windows 运行时 字符串。可以在 <see cref="T:System.String" /> 数据类型上使用此成员。</summary>
2321 <member name="F:System.Runtime.InteropServices.UnmanagedType.I1">
2322 <summary>1 字节有符号整数。可使用此成员将布尔值转换为 1 字节、C 样式的 bool (true = 1, false = 0)。</summary>
2324 <member name="F:System.Runtime.InteropServices.UnmanagedType.I2">
2325 <summary>2 字节有符号整数。</summary>
2327 <member name="F:System.Runtime.InteropServices.UnmanagedType.I4">
2328 <summary>4 字节有符号整数。</summary>
2330 <member name="F:System.Runtime.InteropServices.UnmanagedType.I8">
2331 <summary>8 字节有符号整数。</summary>
2333 <member name="F:System.Runtime.InteropServices.UnmanagedType.IDispatch">
2334 <summary>一个 COM IDispatch 指针(在 Microsoft Visual Basic 6.0 中为 Object)。</summary>
2336 <member name="F:System.Runtime.InteropServices.UnmanagedType.IInspectable">
2337 <summary>一个 Windows 运行时 接口指针。可以在 <see cref="T:System.Object" /> 数据类型上使用此成员。</summary>
2339 <member name="F:System.Runtime.InteropServices.UnmanagedType.Interface">
2340 <summary>COM 接口指针。从类元数据获得接口的 <see cref="T:System.Guid" />。如果将此成员应用于类,则可以使用该成员指定确切的接口类型或默认的接口类型。当应用于 <see cref="T:System.Object" /> 数据类型时,此成员将产生与 <see cref="F:System.Runtime.InteropServices.UnmanagedType.IUnknown" /> 相同的行为。</summary>
2342 <member name="F:System.Runtime.InteropServices.UnmanagedType.IUnknown">
2343 <summary>COM IUnknown 指针。可以在 <see cref="T:System.Object" /> 数据类型上使用此成员。</summary>
2345 <member name="F:System.Runtime.InteropServices.UnmanagedType.LPArray">
2346 <summary>指向 C 样式数组的第一个元素的指针。当从托管到非托管代码进行封送处理时,该数组的长度由托管数组的长度确定。当从非托管到托管代码进行封送处理时,将根据 <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeConst" /> 和 <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex" /> 字段确定该数组的长度,当需要区分字符串类型时,还可以后跟数组中元素的非托管类型。</summary>
2348 <member name="F:System.Runtime.InteropServices.UnmanagedType.LPStr">
2349 <summary>单字节、以 null 结尾的 ANSI 字符串。可在 <see cref="T:System.String" /> 和 <see cref="T:System.Text.StringBuilder" /> 数据类型上使用此成员。</summary>
2351 <member name="F:System.Runtime.InteropServices.UnmanagedType.LPStruct">
2352 <summary>一个指针,它指向用于封送托管格式化类的 C 样式结构。该成员仅对平台调用方法有效。</summary>
2354 <member name="F:System.Runtime.InteropServices.UnmanagedType.LPTStr">
2355 <summary>与平台相关的字符串:在 Windows 98 上为 ANSI,在 Windows NT 和 Windows XP 上为 Unicode。该值仅支持平台调用而不支持 COM 互操作,因为导出 LPTStr 类型的字符串不受支持。</summary>
2357 <member name="F:System.Runtime.InteropServices.UnmanagedType.LPWStr">
2358 <summary>一个 2 字节、以 null 结尾的 Unicode 字符串。</summary>
2360 <member name="F:System.Runtime.InteropServices.UnmanagedType.R4">
2361 <summary>4 字节浮点数。</summary>
2363 <member name="F:System.Runtime.InteropServices.UnmanagedType.R8">
2364 <summary>8 字节浮点数。</summary>
2366 <member name="F:System.Runtime.InteropServices.UnmanagedType.SafeArray">
2367 <summary>SafeArray 是自我描述的数组,它带有关联数组数据的类型、秩和界限。可将此成员与 <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SafeArraySubType" /> 字段一起使用,以重写默认元素类型。</summary>
2369 <member name="F:System.Runtime.InteropServices.UnmanagedType.Struct">
2370 <summary>一个用于封送托管格式化类和值类型的 VARIANT。</summary>
2372 <member name="F:System.Runtime.InteropServices.UnmanagedType.SysInt">
2373 <summary>与平台相关的有符号整数:在 32 位 Windows 上为 4 个字节,在 64 位 Windows 上为 8 个字节。</summary>
2375 <member name="F:System.Runtime.InteropServices.UnmanagedType.SysUInt">
2376 <summary>与平台相关的无符号整数:在 32 位 Windows 上为 4 个字节,在 64 位 Windows 上为 8 个字节。</summary>
2378 <member name="F:System.Runtime.InteropServices.UnmanagedType.TBStr">
2379 <summary>一个有长度前缀的与平台相关的 char 字符串:在 Windows 98 上为 ANSI,在 Windows NT 上为 Unicode。很少用到这个类似于 BSTR 的成员。</summary>
2381 <member name="F:System.Runtime.InteropServices.UnmanagedType.U1">
2382 <summary>1 字节无符号整数。</summary>
2384 <member name="F:System.Runtime.InteropServices.UnmanagedType.U2">
2385 <summary>2 字节无符号整数。</summary>
2387 <member name="F:System.Runtime.InteropServices.UnmanagedType.U4">
2388 <summary>4 字节无符号整数。</summary>
2390 <member name="F:System.Runtime.InteropServices.UnmanagedType.U8">
2391 <summary>8 字节无符号整数。</summary>
2393 <member name="F:System.Runtime.InteropServices.UnmanagedType.VariantBool">
2394 <summary>2 字节、OLE 定义的 VARIANT_BOOL 类型 (true = -1, false = 0)。</summary>
2396 <member name="F:System.Runtime.InteropServices.UnmanagedType.VBByRefStr">
2397 <summary>一个值,该值使 Visual Basic 能够更改非托管代码中的字符串,并使结果在托管代码中反映出来。该值仅支持平台调用。</summary>
2399 <member name="T:System.Runtime.InteropServices.VarEnum">
2400 <summary>指示当数组作为 <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" /> 从托管代码封送到非托管代码时,如何封送该数组的元素。</summary>
2402 <member name="F:System.Runtime.InteropServices.VarEnum.VT_ARRAY">
2403 <summary>指示 SAFEARRAY 指针。</summary>
2405 <member name="F:System.Runtime.InteropServices.VarEnum.VT_BLOB">
2406 <summary>指示以长度为前缀的字节。</summary>
2408 <member name="F:System.Runtime.InteropServices.VarEnum.VT_BLOB_OBJECT">
2409 <summary>指示 Blob 包含对象。</summary>
2411 <member name="F:System.Runtime.InteropServices.VarEnum.VT_BOOL">
2412 <summary>指示一个布尔值。</summary>
2414 <member name="F:System.Runtime.InteropServices.VarEnum.VT_BSTR">
2415 <summary>指示 BSTR 字符串。</summary>
2417 <member name="F:System.Runtime.InteropServices.VarEnum.VT_BYREF">
2418 <summary>指示值为引用。</summary>
2420 <member name="F:System.Runtime.InteropServices.VarEnum.VT_CARRAY">
2421 <summary>指示 C 样式数组。</summary>
2423 <member name="F:System.Runtime.InteropServices.VarEnum.VT_CF">
2424 <summary>指示剪贴板格式。</summary>
2426 <member name="F:System.Runtime.InteropServices.VarEnum.VT_CLSID">
2427 <summary>指示类 ID。</summary>
2429 <member name="F:System.Runtime.InteropServices.VarEnum.VT_CY">
2430 <summary>指示货币值。</summary>
2432 <member name="F:System.Runtime.InteropServices.VarEnum.VT_DATE">
2433 <summary>指示 DATE 值。</summary>
2435 <member name="F:System.Runtime.InteropServices.VarEnum.VT_DECIMAL">
2436 <summary>指示 decimal 值。</summary>
2438 <member name="F:System.Runtime.InteropServices.VarEnum.VT_DISPATCH">
2439 <summary>指示 IDispatch 指针。</summary>
2441 <member name="F:System.Runtime.InteropServices.VarEnum.VT_EMPTY">
2442 <summary>指示未指定值。</summary>
2444 <member name="F:System.Runtime.InteropServices.VarEnum.VT_ERROR">
2445 <summary>指示 SCODE。</summary>
2447 <member name="F:System.Runtime.InteropServices.VarEnum.VT_FILETIME">
2448 <summary>指示 FILETIME 值。</summary>
2450 <member name="F:System.Runtime.InteropServices.VarEnum.VT_HRESULT">
2451 <summary>指示 HRESULT。</summary>
2453 <member name="F:System.Runtime.InteropServices.VarEnum.VT_I1">
2454 <summary>指示 char 值。</summary>
2456 <member name="F:System.Runtime.InteropServices.VarEnum.VT_I2">
2457 <summary>指示 short 整数。</summary>
2459 <member name="F:System.Runtime.InteropServices.VarEnum.VT_I4">
2460 <summary>指示 long 整数。</summary>
2462 <member name="F:System.Runtime.InteropServices.VarEnum.VT_I8">
2463 <summary>指示 64 位整数。</summary>
2465 <member name="F:System.Runtime.InteropServices.VarEnum.VT_INT">
2466 <summary>指示整数值。</summary>
2468 <member name="F:System.Runtime.InteropServices.VarEnum.VT_LPSTR">
2469 <summary>指示一个以 NULL 结尾的字符串。</summary>
2471 <member name="F:System.Runtime.InteropServices.VarEnum.VT_LPWSTR">
2472 <summary>指示由 null 终止的宽字符串。</summary>
2474 <member name="F:System.Runtime.InteropServices.VarEnum.VT_NULL">
2475 <summary>指示空值(类似于 SQL 中的空值)。</summary>
2477 <member name="F:System.Runtime.InteropServices.VarEnum.VT_PTR">
2478 <summary>指示指针类型。</summary>
2480 <member name="F:System.Runtime.InteropServices.VarEnum.VT_R4">
2481 <summary>指示 float 值。</summary>
2483 <member name="F:System.Runtime.InteropServices.VarEnum.VT_R8">
2484 <summary>指示 double 值。</summary>
2486 <member name="F:System.Runtime.InteropServices.VarEnum.VT_RECORD">
2487 <summary>指示用户定义的类型。</summary>
2489 <member name="F:System.Runtime.InteropServices.VarEnum.VT_SAFEARRAY">
2490 <summary>指示 SAFEARRAY。在 VARIANT 中无效。</summary>
2492 <member name="F:System.Runtime.InteropServices.VarEnum.VT_STORAGE">
2493 <summary>指示随后是存储的名称。</summary>
2495 <member name="F:System.Runtime.InteropServices.VarEnum.VT_STORED_OBJECT">
2496 <summary>指示存储包含对象。</summary>
2498 <member name="F:System.Runtime.InteropServices.VarEnum.VT_STREAM">
2499 <summary>指示随后是流的名称。</summary>
2501 <member name="F:System.Runtime.InteropServices.VarEnum.VT_STREAMED_OBJECT">
2502 <summary>指示流包含对象。</summary>
2504 <member name="F:System.Runtime.InteropServices.VarEnum.VT_UI1">
2505 <summary>指示 byte。</summary>
2507 <member name="F:System.Runtime.InteropServices.VarEnum.VT_UI2">
2508 <summary>指示 unsignedshort。</summary>
2510 <member name="F:System.Runtime.InteropServices.VarEnum.VT_UI4">
2511 <summary>指示 unsignedlong。</summary>
2513 <member name="F:System.Runtime.InteropServices.VarEnum.VT_UI8">
2514 <summary>指示 64 位无符号整数。</summary>
2516 <member name="F:System.Runtime.InteropServices.VarEnum.VT_UINT">
2517 <summary>指示 unsigned 整数值。</summary>
2519 <member name="F:System.Runtime.InteropServices.VarEnum.VT_UNKNOWN">
2520 <summary>指示 IUnknown 指针。</summary>
2522 <member name="F:System.Runtime.InteropServices.VarEnum.VT_USERDEFINED">
2523 <summary>指示用户定义的类型。</summary>
2525 <member name="F:System.Runtime.InteropServices.VarEnum.VT_VARIANT">
2526 <summary>指示 VARIANTfar 指针。</summary>
2528 <member name="F:System.Runtime.InteropServices.VarEnum.VT_VECTOR">
2529 <summary>指示简单的已计数数组。</summary>
2531 <member name="F:System.Runtime.InteropServices.VarEnum.VT_VOID">
2532 <summary>指示 C 样式 void。</summary>
2534 <member name="T:System.Runtime.InteropServices.VariantWrapper">
2535 <summary>将 VT_VARIANT | VT_BYREF 类型的数据从托管代码封送到非托管代码。此类不能被继承。</summary>
2537 <member name="M:System.Runtime.InteropServices.VariantWrapper.#ctor(System.Object)">
2538 <summary>使用指定的 <see cref="T:System.Object" /> 参数初始化 <see cref="T:System.Runtime.InteropServices.VariantWrapper" /> 类的新实例。</summary>
2539 <param name="obj">要封送的对象。</param>
2541 <member name="P:System.Runtime.InteropServices.VariantWrapper.WrappedObject">
2542 <summary>获取由 <see cref="T:System.Runtime.InteropServices.VariantWrapper" /> 对象包装的对象。</summary>
2543 <returns>由 <see cref="T:System.Runtime.InteropServices.VariantWrapper" /> 对象包装的对象。</returns>
2545 <member name="T:System.Runtime.InteropServices.ComTypes.ADVF">
2546 <summary>在设置通知接收器或缓存与对象的连接时指定请求的行为。</summary>
2548 <member name="F:System.Runtime.InteropServices.ComTypes.ADVF.ADVF_DATAONSTOP">
2549 <summary>对于数据通知连接,请确保数据的可访问性。</summary>
2551 <member name="F:System.Runtime.InteropServices.ComTypes.ADVF.ADVF_NODATA">
2552 <summary>对于数据通知连接(<see cref="M:System.Runtime.InteropServices.ComTypes.IDataObject.DAdvise(System.Runtime.InteropServices.ComTypes.FORMATETC@,System.Runtime.InteropServices.ComTypes.ADVF,System.Runtime.InteropServices.ComTypes.IAdviseSink,System.Int32@)" /> 或 <see cref="M:System.Runtime.InteropServices.ComTypes.IConnectionPoint.Advise(System.Object,System.Int32@)" />),此标志请求数据对象在它调用 <see cref="M:System.Runtime.InteropServices.ComTypes.IAdviseSink.OnDataChange(System.Runtime.InteropServices.ComTypes.FORMATETC@,System.Runtime.InteropServices.ComTypes.STGMEDIUM@)" /> 时不要发送数据。</summary>
2554 <member name="F:System.Runtime.InteropServices.ComTypes.ADVF.ADVF_ONLYONCE">
2555 <summary>请求对象在删除连接前只进行一次更改通知或缓存更新。</summary>
2557 <member name="F:System.Runtime.InteropServices.ComTypes.ADVF.ADVF_PRIMEFIRST">
2558 <summary>请求对象在对 <see cref="M:System.Runtime.InteropServices.ComTypes.IAdviseSink.OnDataChange(System.Runtime.InteropServices.ComTypes.FORMATETC@,System.Runtime.InteropServices.ComTypes.STGMEDIUM@)" /> 进行初始调用(对于数据或视图通知连接)或更新缓存(对于缓存连接)之前不要等待数据或视图更改。</summary>
2560 <member name="F:System.Runtime.InteropServices.ComTypes.ADVF.ADVFCACHE_FORCEBUILTIN">
2561 <summary>此值由执行对象绘制的 DLL 对象应用程序和对象处理程序使用。</summary>
2563 <member name="F:System.Runtime.InteropServices.ComTypes.ADVF.ADVFCACHE_NOHANDLER">
2565 <see cref="F:System.Runtime.InteropServices.ComTypes.ADVF.ADVFCACHE_FORCEBUILTIN" /> 的同义词,该词更为常用。</summary>
2567 <member name="F:System.Runtime.InteropServices.ComTypes.ADVF.ADVFCACHE_ONSAVE">
2568 <summary>对于缓存连接,此标志只在保存包含缓存的对象时更新缓存的表示形式。</summary>
2570 <member name="T:System.Runtime.InteropServices.ComTypes.BIND_OPTS">
2571 <summary>存储在名字对象绑定操作期间使用的参数。</summary>
2573 <member name="F:System.Runtime.InteropServices.ComTypes.BIND_OPTS.cbStruct">
2574 <summary>指定 BIND_OPTS 结构的大小(以字节为单位)。</summary>
2576 <member name="F:System.Runtime.InteropServices.ComTypes.BIND_OPTS.dwTickCountDeadline">
2577 <summary>指示调用方指定的用于完成绑定操作的时间(由 GetTickCount 函数返回的以毫秒为单位的时钟时间)。</summary>
2579 <member name="F:System.Runtime.InteropServices.ComTypes.BIND_OPTS.grfFlags">
2580 <summary>控制名字对象绑定操作的各个方面。</summary>
2582 <member name="F:System.Runtime.InteropServices.ComTypes.BIND_OPTS.grfMode">
2583 <summary>表示当打开包含由该名字对象标识的对象的文件时应使用的标志。</summary>
2585 <member name="T:System.Runtime.InteropServices.ComTypes.BINDPTR">
2586 <summary>包含指向绑定到 <see cref="T:System.Runtime.InteropServices.FUNCDESC" /> 结构、<see cref="T:System.Runtime.InteropServices.VARDESC" /> 结构或 ITypeComp 接口的指针。</summary>
2588 <member name="F:System.Runtime.InteropServices.ComTypes.BINDPTR.lpfuncdesc">
2589 <summary>表示指向 <see cref="T:System.Runtime.InteropServices.FUNCDESC" /> 结构的指针。</summary>
2591 <member name="F:System.Runtime.InteropServices.ComTypes.BINDPTR.lptcomp">
2592 <summary>表示指向 <see cref="T:System.Runtime.InteropServices.ComTypes.ITypeComp" /> 接口的指针。</summary>
2594 <member name="F:System.Runtime.InteropServices.ComTypes.BINDPTR.lpvardesc">
2595 <summary>表示指向 <see cref="T:System.Runtime.InteropServices.VARDESC" /> 结构的指针。</summary>
2597 <member name="T:System.Runtime.InteropServices.ComTypes.CALLCONV">
2598 <summary>标识 METHODDATA 结构中描述的方法所使用的调用约定。</summary>
2600 <member name="F:System.Runtime.InteropServices.ComTypes.CALLCONV.CC_CDECL">
2601 <summary>指示对方法使用 C 声明 (CDECL) 调用约定。</summary>
2603 <member name="F:System.Runtime.InteropServices.ComTypes.CALLCONV.CC_MACPASCAL">
2604 <summary>指示对方法使用 Macintosh Pascal (MACPASCAL) 调用约定。</summary>
2606 <member name="F:System.Runtime.InteropServices.ComTypes.CALLCONV.CC_MAX">
2607 <summary>指示 <see cref="T:System.Runtime.InteropServices.ComTypes.CALLCONV" /> 枚举的结尾。</summary>
2609 <member name="F:System.Runtime.InteropServices.ComTypes.CALLCONV.CC_MPWCDECL">
2610 <summary>指示对方法使用 Macintosh Programmers' Workbench (MPW) CDECL 调用约定。</summary>
2612 <member name="F:System.Runtime.InteropServices.ComTypes.CALLCONV.CC_MPWPASCAL">
2613 <summary>指示对方法使用 Macintosh Programmers' Workbench (MPW) PASCAL 调用约定。</summary>
2615 <member name="F:System.Runtime.InteropServices.ComTypes.CALLCONV.CC_MSCPASCAL">
2616 <summary>指示对方法使用 MSC Pascal (MSCPASCAL) 调用约定。</summary>
2618 <member name="F:System.Runtime.InteropServices.ComTypes.CALLCONV.CC_PASCAL">
2619 <summary>指示对方法使用 Pascal 调用约定。</summary>
2621 <member name="F:System.Runtime.InteropServices.ComTypes.CALLCONV.CC_RESERVED">
2622 <summary>保留此值供将来使用。</summary>
2624 <member name="F:System.Runtime.InteropServices.ComTypes.CALLCONV.CC_STDCALL">
2625 <summary>指示对方法使用标准调用约定 (STDCALL)。</summary>
2627 <member name="F:System.Runtime.InteropServices.ComTypes.CALLCONV.CC_SYSCALL">
2628 <summary>指示对方法使用标准 SYSCALL 调用约定。</summary>
2630 <member name="T:System.Runtime.InteropServices.ComTypes.CONNECTDATA">
2631 <summary>描述现有的到给定连接点的连接。</summary>
2633 <member name="F:System.Runtime.InteropServices.ComTypes.CONNECTDATA.dwCookie">
2634 <summary>表示从 <see cref="M:System.Runtime.InteropServices.ComTypes.IConnectionPoint.Advise(System.Object,System.Int32@)" /> 调用中返回的连接标记。</summary>
2636 <member name="F:System.Runtime.InteropServices.ComTypes.CONNECTDATA.pUnk">
2637 <summary>表示指向已连接的通知接收器上的 IUnknown 接口的指针。当不再需要 CONNECTDATA 结构时,调用方必须在此指针上调用 IUnknown::Release。</summary>
2639 <member name="T:System.Runtime.InteropServices.ComTypes.DATADIR">
2640 <summary>在 <see cref="M:System.Runtime.InteropServices.ComTypes.IDataObject.EnumFormatEtc(System.Runtime.InteropServices.ComTypes.DATADIR)" /> 方法的 <paramref name="dwDirection" /> 参数中指定数据流的方向。这将确定生成的枚举数可以枚举的格式。</summary>
2642 <member name="F:System.Runtime.InteropServices.ComTypes.DATADIR.DATADIR_GET">
2643 <summary>请求 <see cref="M:System.Runtime.InteropServices.ComTypes.IDataObject.EnumFormatEtc(System.Runtime.InteropServices.ComTypes.DATADIR)" /> 为可在 <see cref="M:System.Runtime.InteropServices.ComTypes.IDataObject.GetData(System.Runtime.InteropServices.ComTypes.FORMATETC@,System.Runtime.InteropServices.ComTypes.STGMEDIUM@)" /> 中指定的格式提供枚举数。</summary>
2645 <member name="F:System.Runtime.InteropServices.ComTypes.DATADIR.DATADIR_SET">
2646 <summary>请求 <see cref="M:System.Runtime.InteropServices.ComTypes.IDataObject.EnumFormatEtc(System.Runtime.InteropServices.ComTypes.DATADIR)" /> 为可在 <see cref="M:System.Runtime.InteropServices.ComTypes.IDataObject.SetData(System.Runtime.InteropServices.ComTypes.FORMATETC@,System.Runtime.InteropServices.ComTypes.STGMEDIUM@,System.Boolean)" /> 中指定的格式提供枚举数。</summary>
2648 <member name="T:System.Runtime.InteropServices.ComTypes.DESCKIND">
2649 <summary>标识绑定到的类型说明。</summary>
2651 <member name="F:System.Runtime.InteropServices.ComTypes.DESCKIND.DESCKIND_FUNCDESC">
2652 <summary>指示返回了 <see cref="T:System.Runtime.InteropServices.FUNCDESC" /> 结构。</summary>
2654 <member name="F:System.Runtime.InteropServices.ComTypes.DESCKIND.DESCKIND_IMPLICITAPPOBJ">
2655 <summary>指示返回了 IMPLICITAPPOBJ。</summary>
2657 <member name="F:System.Runtime.InteropServices.ComTypes.DESCKIND.DESCKIND_MAX">
2658 <summary>指示枚举结尾标记。</summary>
2660 <member name="F:System.Runtime.InteropServices.ComTypes.DESCKIND.DESCKIND_NONE">
2661 <summary>指示未找到匹配。</summary>
2663 <member name="F:System.Runtime.InteropServices.ComTypes.DESCKIND.DESCKIND_TYPECOMP">
2664 <summary>指示返回了 TYPECOMP。</summary>
2666 <member name="F:System.Runtime.InteropServices.ComTypes.DESCKIND.DESCKIND_VARDESC">
2667 <summary>指示返回了 VARDESC。</summary>
2669 <member name="T:System.Runtime.InteropServices.ComTypes.DISPPARAMS">
2670 <summary>包含通过 IDispatch::Invoke 传递给方法或属性的参数。</summary>
2672 <member name="F:System.Runtime.InteropServices.ComTypes.DISPPARAMS.cArgs">
2673 <summary>表示参数的计数。</summary>
2675 <member name="F:System.Runtime.InteropServices.ComTypes.DISPPARAMS.cNamedArgs">
2676 <summary>表示命名参数的计数。</summary>
2678 <member name="F:System.Runtime.InteropServices.ComTypes.DISPPARAMS.rgdispidNamedArgs">
2679 <summary>表示命名参数的调度 ID。</summary>
2681 <member name="F:System.Runtime.InteropServices.ComTypes.DISPPARAMS.rgvarg">
2682 <summary>表示对参数数组的引用。</summary>
2684 <member name="T:System.Runtime.InteropServices.ComTypes.DVASPECT">
2685 <summary>在绘制或获取数据时指定对象所需的数据或视图方位。</summary>
2687 <member name="F:System.Runtime.InteropServices.ComTypes.DVASPECT.DVASPECT_CONTENT">
2688 <summary>对象的表示形式,它使该对象在容器内显示为嵌入的对象。通常为复合文档对象指定此值。该演示可提供给屏幕或打印机。</summary>
2690 <member name="F:System.Runtime.InteropServices.ComTypes.DVASPECT.DVASPECT_DOCPRINT">
2691 <summary>对象在屏幕上的表示形式,与使用“文件”菜单上的“打印”命令在打印机上打印出的效果相同。该描述数据可以表示页序列。</summary>
2693 <member name="F:System.Runtime.InteropServices.ComTypes.DVASPECT.DVASPECT_ICON">
2694 <summary>对象的图标表示形式。</summary>
2696 <member name="F:System.Runtime.InteropServices.ComTypes.DVASPECT.DVASPECT_THUMBNAIL">
2697 <summary>对象的缩略图表示形式,使对象可在浏览工具中显示。该缩略图大约为 120 x 120 像素、16 色(推荐)、独立于设备的位图,该位图可能包含在图元文件中。</summary>
2699 <member name="T:System.Runtime.InteropServices.ComTypes.ELEMDESC">
2700 <summary>包含变量、函数或函数参数的类型说明以及进程传输信息。</summary>
2702 <member name="F:System.Runtime.InteropServices.ComTypes.ELEMDESC.desc">
2703 <summary>包含有关元素的信息。</summary>
2705 <member name="F:System.Runtime.InteropServices.ComTypes.ELEMDESC.tdesc">
2706 <summary>标识元素的类型。</summary>
2708 <member name="T:System.Runtime.InteropServices.ComTypes.ELEMDESC.DESCUNION">
2709 <summary>包含有关元素的信息。</summary>
2711 <member name="F:System.Runtime.InteropServices.ComTypes.ELEMDESC.DESCUNION.idldesc">
2712 <summary>包含有关远程处理该元素的信息。</summary>
2714 <member name="F:System.Runtime.InteropServices.ComTypes.ELEMDESC.DESCUNION.paramdesc">
2715 <summary>包含有关参数的信息。</summary>
2717 <member name="T:System.Runtime.InteropServices.ComTypes.EXCEPINFO">
2718 <summary>描述在 IDispatch::Invoke 过程中发生的异常。</summary>
2720 <member name="F:System.Runtime.InteropServices.ComTypes.EXCEPINFO.bstrDescription">
2721 <summary>描述用户可能遇到的错误。</summary>
2723 <member name="F:System.Runtime.InteropServices.ComTypes.EXCEPINFO.bstrHelpFile">
2724 <summary>包含帮助文件的完全限定驱动器、路径和文件名,该帮助文件包含有关错误的更多信息。</summary>
2726 <member name="F:System.Runtime.InteropServices.ComTypes.EXCEPINFO.bstrSource">
2727 <summary>指示异常源的名称。该名称通常是一个应用程序名称。</summary>
2729 <member name="F:System.Runtime.InteropServices.ComTypes.EXCEPINFO.dwHelpContext">
2730 <summary>指示该主题在帮助文件中的帮助上下文 ID。</summary>
2732 <member name="F:System.Runtime.InteropServices.ComTypes.EXCEPINFO.pfnDeferredFillIn">
2733 <summary>表示指向一个函数的指针,该函数采用 <see cref="T:System.Runtime.InteropServices.EXCEPINFO" /> 结构作为参数并返回 HRESULT 值。如果不想推迟填充,则将此字段设置为 null。</summary>
2735 <member name="F:System.Runtime.InteropServices.ComTypes.EXCEPINFO.pvReserved">
2736 <summary>此字段为保留字段;必须将其设置为 null。</summary>
2738 <member name="F:System.Runtime.InteropServices.ComTypes.EXCEPINFO.scode">
2739 <summary>描述错误的返回值。</summary>
2741 <member name="F:System.Runtime.InteropServices.ComTypes.EXCEPINFO.wCode">
2742 <summary>表示用于标识错误的错误代码。</summary>
2744 <member name="F:System.Runtime.InteropServices.ComTypes.EXCEPINFO.wReserved">
2745 <summary>此字段为保留字段;必须将其设置为 0。</summary>
2747 <member name="T:System.Runtime.InteropServices.ComTypes.FILETIME">
2748 <summary>表示从 1601 年 1 月 1 日起的 100 毫微秒间隔数。此结构是一个 64 位值。</summary>
2750 <member name="F:System.Runtime.InteropServices.ComTypes.FILETIME.dwHighDateTime">
2751 <summary>指定 FILETIME 的高 32 位。</summary>
2753 <member name="F:System.Runtime.InteropServices.ComTypes.FILETIME.dwLowDateTime">
2754 <summary>指定 FILETIME 的低 32 位。</summary>
2756 <member name="T:System.Runtime.InteropServices.ComTypes.FORMATETC">
2757 <summary>表示通用剪贴板格式。</summary>
2759 <member name="F:System.Runtime.InteropServices.ComTypes.FORMATETC.cfFormat">
2760 <summary>指定有意义的特殊剪贴板格式。</summary>
2762 <member name="F:System.Runtime.InteropServices.ComTypes.FORMATETC.dwAspect">
2763 <summary>指定一个 <see cref="T:System.Runtime.InteropServices.ComTypes.DVASPECT" /> 枚举常数,用以确定呈现中应包含多少详细信息。</summary>
2765 <member name="F:System.Runtime.InteropServices.ComTypes.FORMATETC.lindex">
2766 <summary>在必须跨页边界拆分数据时指定方位的部分。</summary>
2768 <member name="F:System.Runtime.InteropServices.ComTypes.FORMATETC.ptd">
2769 <summary>指定指向 DVTARGETDEVICE 结构的指针,该结构中包含有关该数据所构成的目标设备的信息。</summary>
2771 <member name="F:System.Runtime.InteropServices.ComTypes.FORMATETC.tymed">
2772 <summary>指定一个 <see cref="T:System.Runtime.InteropServices.ComTypes.TYMED" /> 枚举常数,该常数指示用于传输对象数据的存储介质的类型。</summary>
2774 <member name="T:System.Runtime.InteropServices.ComTypes.FUNCDESC">
2775 <summary>定义函数说明。</summary>
2777 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCDESC.callconv">
2778 <summary>指定函数的调用约定。</summary>
2780 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCDESC.cParams">
2781 <summary>计算参数的总数。</summary>
2783 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCDESC.cParamsOpt">
2784 <summary>计算可选参数。</summary>
2786 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCDESC.cScodes">
2787 <summary>计算允许的返回值。</summary>
2789 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCDESC.elemdescFunc">
2790 <summary>包含函数的返回类型。</summary>
2792 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCDESC.funckind">
2793 <summary>指定函数是虚拟的、静态的还是仅支持调度的。</summary>
2795 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCDESC.invkind">
2796 <summary>指定属性函数的类型。</summary>
2798 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCDESC.lprgelemdescParam">
2799 <summary>指示 <see cref="F:System.Runtime.InteropServices.FUNCDESC.cParams" /> 的大小。</summary>
2801 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCDESC.lprgscode">
2802 <summary>存储函数可在 16 位系统中返回的错误的计数。</summary>
2804 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCDESC.memid">
2805 <summary>标识函数成员 ID。</summary>
2807 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCDESC.oVft">
2808 <summary>指定 <see cref="F:System.Runtime.InteropServices.FUNCKIND.FUNC_VIRTUAL" /> 在 VTBL 中的偏移量。</summary>
2810 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCDESC.wFuncFlags">
2811 <summary>指示函数的 <see cref="T:System.Runtime.InteropServices.FUNCFLAGS" />。</summary>
2813 <member name="T:System.Runtime.InteropServices.ComTypes.FUNCFLAGS">
2814 <summary>标识定义函数属性的常数。</summary>
2816 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FBINDABLE">
2817 <summary>支持数据绑定的函数。</summary>
2819 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FDEFAULTBIND">
2820 <summary>最佳表示此对象的函数。一个类型中只能有一个函数可以具有此特性。</summary>
2822 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FDEFAULTCOLLELEM">
2823 <summary>允许进行一种优化,使编译器查找“abc”类型上名为“xyz”的成员。如果找到这样的成员,而且该成员标志为默认集合的某元素的访问器函数,则生成对该成员函数的调用。可以对调度接口和接口中的成员使用;不能对模块使用。</summary>
2825 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FDISPLAYBIND">
2826 <summary>作为可绑定函数显示给用户的函数。还必须设置 <see cref="F:System.Runtime.InteropServices.FUNCFLAGS.FUNCFLAG_FBINDABLE" />。</summary>
2828 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FHIDDEN">
2829 <summary>不应将此函数显示给用户,尽管它存在并且为可绑定函数。</summary>
2831 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FIMMEDIATEBIND">
2832 <summary>作为单独的可绑定属性映射。</summary>
2834 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FNONBROWSABLE">
2835 <summary>该属性出现在对象浏览器而非属性浏览器中。</summary>
2837 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FREPLACEABLE">
2838 <summary>将该接口标记为具有默认行为。</summary>
2840 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FREQUESTEDIT">
2841 <summary>设置后,任何对设置此属性的方法的调用都首先导致对 IPropertyNotifySink::OnRequestEdit 的调用。OnRequestEdit 的实现确定是否允许该调用设置属性。</summary>
2843 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FRESTRICTED">
2844 <summary>此函数不应该是可从宏语言访问的。此标志用于系统级函数或类型浏览器不应显示的函数。</summary>
2846 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FSOURCE">
2847 <summary>该函数返回一个对象,此对象为事件的源。</summary>
2849 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FUIDEFAULT">
2850 <summary>类型信息成员是在用户界面中显示的默认成员。</summary>
2852 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCFLAGS.FUNCFLAG_FUSESGETLASTERROR">
2853 <summary>该函数支持 GetLastError。如果在函数过程中发生错误,则调用方可以调用 GetLastError 来检索错误代码。</summary>
2855 <member name="T:System.Runtime.InteropServices.ComTypes.FUNCKIND">
2856 <summary>定义如何访问函数。</summary>
2858 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCKIND.FUNC_DISPATCH">
2859 <summary>该函数只能通过 IDispatch 访问。</summary>
2861 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCKIND.FUNC_NONVIRTUAL">
2862 <summary>该函数通过 static 地址访问,并采用隐式 this 指针。</summary>
2864 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCKIND.FUNC_PUREVIRTUAL">
2865 <summary>该函数通过虚函数表 (VTBL) 访问,并采用隐式 this 指针。</summary>
2867 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCKIND.FUNC_STATIC">
2868 <summary>该函数通过 static 地址访问,不采用隐式 this 指针。</summary>
2870 <member name="F:System.Runtime.InteropServices.ComTypes.FUNCKIND.FUNC_VIRTUAL">
2871 <summary>该函数与 <see cref="F:System.Runtime.InteropServices.FUNCKIND.FUNC_PUREVIRTUAL" /> 的访问方式相同,不同之处在于该函数具有实现。</summary>
2873 <member name="T:System.Runtime.InteropServices.ComTypes.IAdviseSink">
2874 <summary>提供 IAdviseSink 接口的托管定义。</summary>
2876 <member name="M:System.Runtime.InteropServices.ComTypes.IAdviseSink.OnClose">
2877 <summary>向所有已注册的通知接收器通知以下情况:对象已从运行状态更改为加载状态。此方法由服务器调用。</summary>
2879 <member name="M:System.Runtime.InteropServices.ComTypes.IAdviseSink.OnDataChange(System.Runtime.InteropServices.ComTypes.FORMATETC@,System.Runtime.InteropServices.ComTypes.STGMEDIUM@)">
2880 <summary>向当前已注册通知接收器的所有数据对象通知以下情况:对象中的数据已更改。</summary>
2881 <param name="format">一个由引用传递的 <see cref="T:System.Runtime.InteropServices.ComTypes.FORMATETC" />,它描述调用数据对象的格式、目标设备、呈现和存储信息。</param>
2882 <param name="stgmedium">一个由引用传递的 <see cref="T:System.Runtime.InteropServices.ComTypes.STGMEDIUM" />,它为调用数据对象定义存储介质(共用内存、磁盘文件、存储对象、流对象、图形设备接口 (GDI) 对象或未定义介质)和该介质的所属权。</param>
2884 <member name="M:System.Runtime.InteropServices.ComTypes.IAdviseSink.OnRename(System.Runtime.InteropServices.ComTypes.IMoniker)">
2885 <summary>向所有已注册的通知接收器通知以下情况:对象已重命名。此方法由服务器调用。</summary>
2886 <param name="moniker">一个指针,它指向对象的新的、完整的名字对象上的 IMoniker 接口。</param>
2888 <member name="M:System.Runtime.InteropServices.ComTypes.IAdviseSink.OnSave">
2889 <summary>向所有已注册的通知接收器通知以下情况:对象已保存。此方法由服务器调用。</summary>
2891 <member name="M:System.Runtime.InteropServices.ComTypes.IAdviseSink.OnViewChange(System.Int32,System.Int32)">
2892 <summary>向对象的已注册通知接收器通知以下情况:其视图已更改。此方法由服务器调用。</summary>
2893 <param name="aspect">对象的方位或视图。包含一个从 <see cref="T:System.Runtime.InteropServices.ComTypes.DVASPECT" /> 枚举中提取的值。</param>
2894 <param name="index">已更改的视图部分。当前,只有 -1 有效。</param>
2896 <member name="T:System.Runtime.InteropServices.ComTypes.IBindCtx">
2897 <summary>提供 IBindCtx 接口的托管定义。</summary>
2899 <member name="M:System.Runtime.InteropServices.ComTypes.IBindCtx.EnumObjectParam(System.Runtime.InteropServices.ComTypes.IEnumString@)">
2900 <summary>枚举字符串,这些字符串是在内部维护的上下文对象参数表的项。</summary>
2901 <param name="ppenum">此方法返回时,包含对对象参数枚举数的引用。该参数未经初始化即被传递。</param>
2903 <member name="M:System.Runtime.InteropServices.ComTypes.IBindCtx.GetBindOptions(System.Runtime.InteropServices.ComTypes.BIND_OPTS@)">
2904 <summary>返回当前存储在当前绑定上下文中的绑定选项。</summary>
2905 <param name="pbindopts">指向接收绑定选项的结构的指针。</param>
2907 <member name="M:System.Runtime.InteropServices.ComTypes.IBindCtx.GetObjectParam(System.String,System.Object@)">
2908 <summary>在内部维护的上下文对象参数表中查找给定的项并返回相应的对象(如果此对象存在的话)。</summary>
2909 <param name="pszKey">要搜索的对象名称。</param>
2910 <param name="ppunk">此方法返回时,包含对象接口指针。该参数未经初始化即被传递。</param>
2912 <member name="M:System.Runtime.InteropServices.ComTypes.IBindCtx.GetRunningObjectTable(System.Runtime.InteropServices.ComTypes.IRunningObjectTable@)">
2913 <summary>返回对与此绑定进程相关的运行对象表 (ROT) 的访问权。</summary>
2914 <param name="pprot">此方法返回时,包含对运行对象表 (ROT) 的引用。该参数未经初始化即被传递。</param>
2916 <member name="M:System.Runtime.InteropServices.ComTypes.IBindCtx.RegisterObjectBound(System.Object)">
2917 <summary>将传递的对象注册为已在名字对象操作期间绑定且应在此操作完成之后释放的对象之一。</summary>
2918 <param name="punk">要为释放而注册的对象。</param>
2920 <member name="M:System.Runtime.InteropServices.ComTypes.IBindCtx.RegisterObjectParam(System.String,System.Object)">
2921 <summary>以内部维护的对象指针表中的指定名称注册指定的对象指针。</summary>
2922 <param name="pszKey">用于注册 <paramref name="punk" /> 的名称。</param>
2923 <param name="punk">要注册的对象。</param>
2925 <member name="M:System.Runtime.InteropServices.ComTypes.IBindCtx.ReleaseBoundObjects">
2926 <summary>释放所有当前由 <see cref="M:System.Runtime.InteropServices.ComTypes.IBindCtx.RegisterObjectBound(System.Object)" /> 方法用绑定上下文注册的对象。</summary>
2928 <member name="M:System.Runtime.InteropServices.ComTypes.IBindCtx.RevokeObjectBound(System.Object)">
2929 <summary>从需要释放的注册对象集中移除该对象。</summary>
2930 <param name="punk">要为释放而注销的对象。</param>
2932 <member name="M:System.Runtime.InteropServices.ComTypes.IBindCtx.RevokeObjectParam(System.String)">
2933 <summary>撤消当前在指定项(位于内部维护的上下文对象参数表中)下可找到的对象的注册(如果该项当前已注册)。</summary>
2934 <returns>如果从表中成功移除指定键,则为 S_OKHRESULT 值;否则为 S_FALSEHRESULT 值。</returns>
2935 <param name="pszKey">要注销的项。</param>
2937 <member name="M:System.Runtime.InteropServices.ComTypes.IBindCtx.SetBindOptions(System.Runtime.InteropServices.ComTypes.BIND_OPTS@)">
2938 <summary>在绑定上下文中存储参数块。这些参数将应用于稍后使用此绑定上下文的 UCOMIMoniker 操作。</summary>
2939 <param name="pbindopts">包含要设置的绑定选项的结构。</param>
2941 <member name="T:System.Runtime.InteropServices.ComTypes.IConnectionPoint">
2942 <summary>提供 IConnectionPoint 接口的托管定义。</summary>
2944 <member name="M:System.Runtime.InteropServices.ComTypes.IConnectionPoint.Advise(System.Object,System.Int32@)">
2945 <summary>在连接点和调用方的接收器对象之间建立一个通知连接。</summary>
2946 <param name="pUnkSink">对接收器的引用,该接收器为此连接点所管理的输出接口接收调用。</param>
2947 <param name="pdwCookie">此方法返回时,包含连接 Cookie。该参数未经初始化即被传递。</param>
2949 <member name="M:System.Runtime.InteropServices.ComTypes.IConnectionPoint.EnumConnections(System.Runtime.InteropServices.ComTypes.IEnumConnections@)">
2950 <summary>创建枚举数对象,以便循环访问到此连接点的现有连接。</summary>
2951 <param name="ppEnum">此方法返回时,包含新创建的枚举数。该参数未经初始化即被传递。</param>
2953 <member name="M:System.Runtime.InteropServices.ComTypes.IConnectionPoint.GetConnectionInterface(System.Guid@)">
2954 <summary>返回由此连接点管理的输出接口的 IID。</summary>
2955 <param name="pIID">此参数返回时,包含由此连接点管理的输出接口的 IID。该参数未经初始化即被传递。</param>
2957 <member name="M:System.Runtime.InteropServices.ComTypes.IConnectionPoint.GetConnectionPointContainer(System.Runtime.InteropServices.ComTypes.IConnectionPointContainer@)">
2958 <summary>检索指向在概念上拥有此连接点的可连接对象的 IConnectionPointContainer 接口指针。</summary>
2959 <param name="ppCPC">此参数返回时,包含可连接对象的 IConnectionPointContainer 接口。该参数未经初始化即被传递。</param>
2961 <member name="M:System.Runtime.InteropServices.ComTypes.IConnectionPoint.Unadvise(System.Int32)">
2962 <summary>终止先前通过 <see cref="M:System.Runtime.InteropServices.ComTypes.IConnectionPoint.Advise(System.Object,System.Int32@)" /> 方法建立的顾问连接。</summary>
2963 <param name="dwCookie">先前从 <see cref="M:System.Runtime.InteropServices.ComTypes.IConnectionPoint.Advise(System.Object,System.Int32@)" /> 方法返回的连接 Cookie。</param>
2965 <member name="T:System.Runtime.InteropServices.ComTypes.IConnectionPointContainer">
2966 <summary>提供 IConnectionPointContainer 接口的托管定义。</summary>
2968 <member name="M:System.Runtime.InteropServices.ComTypes.IConnectionPointContainer.EnumConnectionPoints(System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints@)">
2969 <summary>创建在可连接对象中支持的所有连接点的枚举数,每个 IID 一个连接点。</summary>
2970 <param name="ppEnum">此方法返回时,包含枚举数的接口指针。该参数未经初始化即被传递。</param>
2972 <member name="M:System.Runtime.InteropServices.ComTypes.IConnectionPointContainer.FindConnectionPoint(System.Guid@,System.Runtime.InteropServices.ComTypes.IConnectionPoint@)">
2973 <summary>询问可连接对象是否具有某个特定 IID 的连接点,如果是,则返回指向此连接点的 IConnectionPoint 接口指针。</summary>
2974 <param name="riid">对输出接口 IID 的引用,此输出接口 IID 的连接点正在被请求。</param>
2975 <param name="ppCP">此方法返回时,包含管理输出接口 <paramref name="riid" /> 的连接点。该参数未经初始化即被传递。</param>
2977 <member name="T:System.Runtime.InteropServices.ComTypes.IDLDESC">
2978 <summary>包含在进程之间传输结构元素、参数或函数返回值时所需的信息。</summary>
2980 <member name="F:System.Runtime.InteropServices.ComTypes.IDLDESC.dwReserved">
2981 <summary>保留;设置为 null。</summary>
2983 <member name="F:System.Runtime.InteropServices.ComTypes.IDLDESC.wIDLFlags">
2984 <summary>指示描述类型的 <see cref="T:System.Runtime.InteropServices.IDLFLAG" /> 值。</summary>
2986 <member name="T:System.Runtime.InteropServices.ComTypes.IDLFLAG">
2987 <summary>描述如何在进程之间传输结构元素、参数或函数返回值。</summary>
2989 <member name="F:System.Runtime.InteropServices.ComTypes.IDLFLAG.IDLFLAG_FIN">
2990 <summary>参数将信息从调用方传递到被调用方。</summary>
2992 <member name="F:System.Runtime.InteropServices.ComTypes.IDLFLAG.IDLFLAG_FLCID">
2993 <summary>参数是客户端应用程序的本地标识符。</summary>
2995 <member name="F:System.Runtime.InteropServices.ComTypes.IDLFLAG.IDLFLAG_FOUT">
2996 <summary>参数将信息从被调用方返回到调用方。</summary>
2998 <member name="F:System.Runtime.InteropServices.ComTypes.IDLFLAG.IDLFLAG_FRETVAL">
2999 <summary>参数是成员的返回值。</summary>
3001 <member name="F:System.Runtime.InteropServices.ComTypes.IDLFLAG.IDLFLAG_NONE">
3002 <summary>不会指定该参数传递还是接收信息。</summary>
3004 <member name="T:System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints">
3005 <summary>管理 IEnumConnectionPoints 接口的定义。</summary>
3007 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints.Clone(System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints@)">
3008 <summary>创建与当前枚举数包含相同枚举状态的一个新枚举数。</summary>
3009 <param name="ppenum">此方法返回时,包含对该新创建的枚举数的引用。该参数未经初始化即被传递。</param>
3011 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints.Next(System.Int32,System.Runtime.InteropServices.ComTypes.IConnectionPoint[],System.IntPtr)">
3012 <summary>检索枚举序列中指定数目的项。</summary>
3013 <returns>如果 <paramref name="pceltFetched" /> 参数与 <paramref name="celt" /> 参数相等,则为 S_OK;否则为 S_FALSE。</returns>
3014 <param name="celt">要在 <paramref name="rgelt" /> 中返回的 IConnectionPoint 引用的数目。</param>
3015 <param name="rgelt">此方法返回时,包含对枚举连接的引用。该参数未经初始化即被传递。</param>
3016 <param name="pceltFetched">此方法返回时,包含对 <paramref name="rgelt" /> 中枚举的连接的实际数目的引用。</param>
3018 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints.Reset">
3019 <summary>将枚举序列重置到开始处。</summary>
3021 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints.Skip(System.Int32)">
3022 <summary>跳过枚举序列中指定数目的项。</summary>
3023 <returns>如果跳过的元素数目与 <paramref name="celt" /> 参数相等,则为 S_OK;否则为 S_FALSE。</returns>
3024 <param name="celt">枚举中要跳过的元素数目。</param>
3026 <member name="T:System.Runtime.InteropServices.ComTypes.IEnumConnections">
3027 <summary>管理 IEnumConnections 接口的定义。</summary>
3029 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumConnections.Clone(System.Runtime.InteropServices.ComTypes.IEnumConnections@)">
3030 <summary>创建与当前枚举数包含相同枚举状态的一个新枚举数。</summary>
3031 <param name="ppenum">此方法返回时,包含对该新创建的枚举数的引用。该参数未经初始化即被传递。</param>
3033 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumConnections.Next(System.Int32,System.Runtime.InteropServices.ComTypes.CONNECTDATA[],System.IntPtr)">
3034 <summary>检索枚举序列中指定数目的项。</summary>
3035 <returns>如果 <paramref name="pceltFetched" /> 参数与 <paramref name="celt" /> 参数相等,则为 S_OK;否则为 S_FALSE。</returns>
3036 <param name="celt">要在 <paramref name="rgelt" /> 中返回的 <see cref="T:System.Runtime.InteropServices.CONNECTDATA" /> 结构的数目。</param>
3037 <param name="rgelt">此方法返回时,包含对枚举连接的引用。该参数未经初始化即被传递。</param>
3038 <param name="pceltFetched">此方法返回时,包含对 <paramref name="rgelt" /> 中枚举的连接的实际数目的引用。</param>
3040 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumConnections.Reset">
3041 <summary>将枚举序列重置到开始处。</summary>
3043 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumConnections.Skip(System.Int32)">
3044 <summary>跳过枚举序列中指定数目的项。</summary>
3045 <returns>如果跳过的元素数目与 <paramref name="celt" /> 参数相等,则为 S_OK;否则为 S_FALSE。</returns>
3046 <param name="celt">枚举中要跳过的元素数目。</param>
3048 <member name="T:System.Runtime.InteropServices.ComTypes.IEnumFORMATETC">
3049 <summary>提供 IEnumFORMATETC 接口的托管定义。</summary>
3051 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumFORMATETC.Clone(System.Runtime.InteropServices.ComTypes.IEnumFORMATETC@)">
3052 <summary>创建与当前枚举数包含相同枚举状态的一个新枚举数。</summary>
3053 <param name="newEnum">此方法返回时,包含对该新创建的枚举数的引用。该参数未经初始化即被传递。</param>
3055 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumFORMATETC.Next(System.Int32,System.Runtime.InteropServices.ComTypes.FORMATETC[],System.Int32[])">
3056 <summary>检索枚举序列中指定数目的项。</summary>
3057 <returns>如果 <paramref name="pceltFetched" /> 参数与 <paramref name="celt" /> 参数相等,则为 S_OK;否则为 S_FALSE。</returns>
3058 <param name="celt">要在 <paramref name="rgelt" /> 中返回的 <see cref="T:System.Runtime.InteropServices.ComTypes.FORMATETC" /> 引用的数目。</param>
3059 <param name="rgelt">此方法返回时,包含对枚举的 <see cref="T:System.Runtime.InteropServices.ComTypes.FORMATETC" /> 引用的引用。该参数未经初始化即被传递。</param>
3060 <param name="pceltFetched">此方法返回时,包含对 <paramref name="rgelt" /> 中枚举的实际引用数的引用。该参数未经初始化即被传递。</param>
3062 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumFORMATETC.Reset">
3063 <summary>将枚举序列重置到开始处。</summary>
3064 <returns>具有值 S_OK 的 HRESULT。</returns>
3066 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumFORMATETC.Skip(System.Int32)">
3067 <summary>跳过枚举序列中指定数目的项。</summary>
3068 <returns>如果跳过的元素数目与 <paramref name="celt" /> 参数相等,则为 S_OK;否则为 S_FALSE。</returns>
3069 <param name="celt">枚举中要跳过的元素数目。</param>
3071 <member name="T:System.Runtime.InteropServices.ComTypes.IEnumMoniker">
3072 <summary>管理 IEnumMoniker 接口的定义。</summary>
3074 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumMoniker.Clone(System.Runtime.InteropServices.ComTypes.IEnumMoniker@)">
3075 <summary>创建与当前枚举数包含相同枚举状态的一个新枚举数。</summary>
3076 <param name="ppenum">此方法返回时,包含对该新创建的枚举数的引用。该参数未经初始化即被传递。</param>
3078 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumMoniker.Next(System.Int32,System.Runtime.InteropServices.ComTypes.IMoniker[],System.IntPtr)">
3079 <summary>检索枚举序列中指定数目的项。</summary>
3080 <returns>如果 <paramref name="pceltFetched" /> 参数与 <paramref name="celt" /> 参数相等,则为 S_OK;否则为 S_FALSE。</returns>
3081 <param name="celt">要在 <paramref name="rgelt" /> 中返回的名字对象的数目。</param>
3082 <param name="rgelt">此方法返回时,包含对枚举的名字对象的引用。该参数未经初始化即被传递。</param>
3083 <param name="pceltFetched">此方法返回时,包含对在 <paramref name="rgelt" /> 中枚举的名字对象的实际数目的引用。</param>
3085 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumMoniker.Reset">
3086 <summary>将枚举序列重置到开始处。</summary>
3088 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumMoniker.Skip(System.Int32)">
3089 <summary>跳过枚举序列中指定数目的项。</summary>
3090 <returns>如果跳过的元素数目与 <paramref name="celt" /> 参数相等,则为 S_OK;否则为 S_FALSE。</returns>
3091 <param name="celt">枚举中要跳过的元素数目。</param>
3093 <member name="T:System.Runtime.InteropServices.ComTypes.IEnumString">
3094 <summary>管理 IEnumString 接口的定义。</summary>
3096 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumString.Clone(System.Runtime.InteropServices.ComTypes.IEnumString@)">
3097 <summary>创建与当前枚举数包含相同枚举状态的一个新枚举数。</summary>
3098 <param name="ppenum">此方法返回时,包含对该新创建的枚举数的引用。该参数未经初始化即被传递。</param>
3100 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumString.Next(System.Int32,System.String[],System.IntPtr)">
3101 <summary>检索枚举序列中指定数目的项。</summary>
3102 <returns>如果 <paramref name="pceltFetched" /> 参数与 <paramref name="celt" /> 参数相等,则为 S_OK;否则为 S_FALSE。</returns>
3103 <param name="celt">要在 <paramref name="rgelt" /> 中返回的字符串的数目。</param>
3104 <param name="rgelt">此方法返回时,包含对枚举字符串的引用。该参数未经初始化即被传递。</param>
3105 <param name="pceltFetched">此方法返回时,包含对在 <paramref name="rgelt" /> 中枚举的字符串的实际数目的引用。</param>
3107 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumString.Reset">
3108 <summary>将枚举序列重置到开始处。</summary>
3110 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumString.Skip(System.Int32)">
3111 <summary>跳过枚举序列中指定数目的项。</summary>
3112 <returns>如果跳过的元素数目与 <paramref name="celt" /> 参数相等,则为 S_OK;否则为 S_FALSE。</returns>
3113 <param name="celt">枚举中要跳过的元素数目。</param>
3115 <member name="T:System.Runtime.InteropServices.ComTypes.IEnumVARIANT">
3116 <summary>管理 IEnumVARIANT 接口的定义。</summary>
3118 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumVARIANT.Clone">
3119 <summary>创建与当前枚举数包含相同枚举状态的一个新枚举数。</summary>
3120 <returns>对新创建枚举数的 <see cref="T:System.Runtime.InteropServices.ComTypes.IEnumVARIANT" /> 引用。</returns>
3122 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumVARIANT.Next(System.Int32,System.Object[],System.IntPtr)">
3123 <summary>检索枚举序列中指定数目的项。</summary>
3124 <returns>如果 <paramref name="pceltFetched" /> 参数与 <paramref name="celt" /> 参数相等,则为 S_OK;否则为 S_FALSE。</returns>
3125 <param name="celt">要在 <paramref name="rgelt" /> 中返回的元素的数目。</param>
3126 <param name="rgVar">此方法返回时,包含对枚举元素的引用。该参数未经初始化即被传递。</param>
3127 <param name="pceltFetched">此方法返回时,包含对在 <paramref name="rgelt" /> 中枚举的元素的实际数目的引用。</param>
3129 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumVARIANT.Reset">
3130 <summary>将枚举序列重置到开始处。</summary>
3131 <returns>具有值 S_OK 的 HRESULT。</returns>
3133 <member name="M:System.Runtime.InteropServices.ComTypes.IEnumVARIANT.Skip(System.Int32)">
3134 <summary>跳过枚举序列中指定数目的项。</summary>
3135 <returns>如果跳过的元素的数目与 <paramref name="celt" /> 参数相等,则为 S_OK;否则为 S_FALSE。</returns>
3136 <param name="celt">枚举中要跳过的元素数目。</param>
3138 <member name="T:System.Runtime.InteropServices.ComTypes.IMoniker">
3139 <summary>提供 IMoniker 接口的托管定义,具有 IPersist 和 IPersistStream 中的 COM 功能。</summary>
3141 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.BindToObject(System.Runtime.InteropServices.ComTypes.IBindCtx,System.Runtime.InteropServices.ComTypes.IMoniker,System.Guid@,System.Object@)">
3142 <summary>使用名字对象绑定到它所标识的对象。</summary>
3143 <param name="pbc">对在此绑定操作中使用的绑定上下文对象上的 IBindCtx 接口的引用。</param>
3144 <param name="pmkToLeft">如果名字对象是复合名字对象的一部分,则为对当前名字对象左边的名字对象的引用。</param>
3145 <param name="riidResult">接口的接口标识符 (IID),客户端打算使用该接口与名字对象标识的对象进行通信。</param>
3146 <param name="ppvResult">此方法返回时,包含对 <paramref name="riidResult" /> 请求的接口的引用。该参数未经初始化即被传递。</param>
3148 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.BindToStorage(System.Runtime.InteropServices.ComTypes.IBindCtx,System.Runtime.InteropServices.ComTypes.IMoniker,System.Guid@,System.Object@)">
3149 <summary>检索指向存储(该存储包含名字对象所标识的对象)的接口指针。</summary>
3150 <param name="pbc">对在此绑定操作过程中使用的绑定上下文对象上的 IBindCtx 接口的引用。</param>
3151 <param name="pmkToLeft">如果名字对象是复合名字对象的一部分,则为对当前名字对象左边的名字对象的引用。</param>
3152 <param name="riid">所请求的存储接口的接口标识符 (IID)。</param>
3153 <param name="ppvObj">此方法返回时,包含对 <paramref name="riid" /> 请求的接口的引用。该参数未经初始化即被传递。</param>
3155 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.CommonPrefixWith(System.Runtime.InteropServices.ComTypes.IMoniker,System.Runtime.InteropServices.ComTypes.IMoniker@)">
3156 <summary>基于此名字对象与另一名字对象共有的公共前缀创建新的名字对象。</summary>
3157 <param name="pmkOther">对另一名字对象上的 IMoniker 接口的引用,将使用该名字对象与当前名字对象进行比较,以获得公共前缀。</param>
3158 <param name="ppmkPrefix">此方法返回时,包含作为当前名字对象和 <paramref name="pmkOther" /> 的公共前缀的名字对象。该参数未经初始化即被传递。</param>
3160 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.ComposeWith(System.Runtime.InteropServices.ComTypes.IMoniker,System.Boolean,System.Runtime.InteropServices.ComTypes.IMoniker@)">
3161 <summary>将当前名字对象与另一名字对象组合,创建一个新的复合名字对象。</summary>
3162 <param name="pmkRight">对名字对象上的 IMoniker 接口的引用,该引用将追加到当前名字对象的末尾。</param>
3163 <param name="fOnlyIfNotGeneric">true 指示调用方需要非通用复合。仅当 <paramref name="pmkRight" /> 为当前名字对象可以采用不同于构成通用复合的方式与其组合的名字对象类时,该操作才继续。而 false 指示该方法可以在必要时创建通用复合。</param>
3164 <param name="ppmkComposite">此方法返回时,包含对结果复合名字对象的引用。该参数未经初始化即被传递。</param>
3166 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.Enum(System.Boolean,System.Runtime.InteropServices.ComTypes.IEnumMoniker@)">
3167 <summary>提供一个指向枚举器(该枚举器可枚举复合名字对象的组件)的指针。</summary>
3168 <param name="fForward">true 表示按从左到右的顺序枚举名字对象。而 false 表示按从右到左的顺序枚举。</param>
3169 <param name="ppenumMoniker">此方法返回时,包含对名字对象的枚举数对象的引用。该参数未经初始化即被传递。</param>
3171 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.GetClassID(System.Guid@)">
3172 <summary>检索对象的类标识符 (CLSID)。</summary>
3173 <param name="pClassID">此方法返回时,包含 CLSID。该参数未经初始化即被传递。</param>
3175 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.GetDisplayName(System.Runtime.InteropServices.ComTypes.IBindCtx,System.Runtime.InteropServices.ComTypes.IMoniker,System.String@)">
3176 <summary>获取显示名称,该名称是当前名字对象的用户可读表示形式。</summary>
3177 <param name="pbc">对在此操作中使用的绑定上下文的引用。</param>
3178 <param name="pmkToLeft">如果名字对象是复合名字对象的一部分,则为对当前名字对象左边的名字对象的引用。</param>
3179 <param name="ppszDisplayName">此方法返回时,包含显示名称字符串。该参数未经初始化即被传递。</param>
3181 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.GetSizeMax(System.Int64@)">
3182 <summary>返回保存该对象所需的流的大小(以字节为单位)。</summary>
3183 <param name="pcbSize">此方法返回时,包含 long 值,该值指示保存此对象所需的流的大小(以字节为单位)。该参数未经初始化即被传递。</param>
3185 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.GetTimeOfLastChange(System.Runtime.InteropServices.ComTypes.IBindCtx,System.Runtime.InteropServices.ComTypes.IMoniker,System.Runtime.InteropServices.ComTypes.FILETIME@)">
3186 <summary>提供一个数字,该数字表示当前名字对象所标识的对象的上次更改时间。</summary>
3187 <param name="pbc">对要在此绑定操作中使用的绑定上下文的引用。</param>
3188 <param name="pmkToLeft">如果名字对象是复合名字对象的一部分,则为对当前名字对象左边的名字对象的引用。</param>
3189 <param name="pFileTime">此方法返回时,包含上次更改时间。该参数未经初始化即被传递。</param>
3191 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.Hash(System.Int32@)">
3192 <summary>使用该名字对象的内部状态计算 32 位整数。</summary>
3193 <param name="pdwHash">此方法返回时,包含此名字对象的哈希值。该参数未经初始化即被传递。</param>
3195 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.Inverse(System.Runtime.InteropServices.ComTypes.IMoniker@)">
3196 <summary>提供一个名字对象,该名字对象在被复合到当前名字对象或一个结构相似的名字对象的右边时,将不复合到任何对象。</summary>
3197 <param name="ppmk">此方法返回时,包含一个名字对象,它是当前名字对象的逆命题。该参数未经初始化即被传递。</param>
3199 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.IsDirty">
3200 <summary>检查该对象自上次保存以来所发生的更改。</summary>
3201 <returns>如果该对象已更改,则为 S_OKHRESULT 值;否则为 S_FALSEHRESULT 值。</returns>
3203 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.IsEqual(System.Runtime.InteropServices.ComTypes.IMoniker)">
3204 <summary>将当前名字对象与指定的名字对象进行比较,并指示它们是否相同。</summary>
3205 <returns>如果名字对象相同,则为 S_OKHRESULT 值;否则为 S_FALSEHRESULT 值。</returns>
3206 <param name="pmkOtherMoniker">对用于比较的名字对象的引用。</param>
3208 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.IsRunning(System.Runtime.InteropServices.ComTypes.IBindCtx,System.Runtime.InteropServices.ComTypes.IMoniker,System.Runtime.InteropServices.ComTypes.IMoniker)">
3209 <summary>确定由当前名字对象标识的对象当前是否已加载并正在运行。</summary>
3210 <returns>如果名字对象处于运行状态,则为 S_OKHRESULT 值;如果名字对象不处于运行状态,则为 S_FALSEHRESULT 值;否则为 E_UNEXPECTEDHRESULT 值。</returns>
3211 <param name="pbc">对要在此绑定操作中使用的绑定上下文的引用。</param>
3212 <param name="pmkToLeft">如果当前名字对象是复合名字对象的一部分,则为对当前名字对象左边的名字对象的引用。</param>
3213 <param name="pmkNewlyRunning">对最近添加到运行对象表 (ROT) 的名字对象的引用。</param>
3215 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.IsSystemMoniker(System.Int32@)">
3216 <summary>指示该名字对象是否是系统提供的名字对象类之一的对象。</summary>
3217 <returns>如果名字对象为系统名字对象,则为 S_OKHRESULT 值;否则为 S_FALSEHRESULT 值。</returns>
3218 <param name="pdwMksys">此方法返回时,包含指向一个整数的指针,该整数是 MKSYS 枚举值之一并引用 COM 名字对象类之一。该参数未经初始化即被传递。</param>
3220 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.Load(System.Runtime.InteropServices.ComTypes.IStream)">
3221 <summary>从以前保存对象的流中初始化对象。</summary>
3222 <param name="pStm">从中加载对象的流。</param>
3224 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.ParseDisplayName(System.Runtime.InteropServices.ComTypes.IBindCtx,System.Runtime.InteropServices.ComTypes.IMoniker,System.String,System.Int32@,System.Runtime.InteropServices.ComTypes.IMoniker@)">
3225 <summary>读取指定的显示名称中 <see cref="M:System.Runtime.InteropServices.ComTypes.IMoniker.ParseDisplayName(System.Runtime.InteropServices.ComTypes.IBindCtx,System.Runtime.InteropServices.ComTypes.IMoniker,System.String,System.Int32@,System.Runtime.InteropServices.ComTypes.IMoniker@)" /> 能够理解的全部字符并生成一个与读取的部分相对应的名字对象。</summary>
3226 <param name="pbc">对要在此绑定操作中使用的绑定上下文的引用。</param>
3227 <param name="pmkToLeft">对迄今为止已经从显示名称生成的名字对象的引用。</param>
3228 <param name="pszDisplayName">对包含要分析的剩余显示名称的字符串的引用。</param>
3229 <param name="pchEaten">此方法返回时,包含分析 <paramref name="pszDisplayName" /> 时所使用的字符数。该参数未经初始化即被传递。</param>
3230 <param name="ppmkOut">此方法返回时,包含对从 <paramref name="pszDisplayName" /> 生成的名字对象的引用。该参数未经初始化即被传递。</param>
3232 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.Reduce(System.Runtime.InteropServices.ComTypes.IBindCtx,System.Int32,System.Runtime.InteropServices.ComTypes.IMoniker@,System.Runtime.InteropServices.ComTypes.IMoniker@)">
3233 <summary>返回简化的名字对象,它是与当前名字对象引用同一对象但能够用相等或更高的效率绑定的另一个名字对象。</summary>
3234 <param name="pbc">对在此绑定操作中使用的绑定上下文中的 IBindCtx 接口的引用。</param>
3235 <param name="dwReduceHowFar">指定当前名字对象简化程度的值。</param>
3236 <param name="ppmkToLeft">对当前名字对象左边的名字对象的引用。</param>
3237 <param name="ppmkReduced">此方法返回时,包含对当前名字对象的简化形式的引用(如果发生错误或当前名字对象被简化为无,则可以为 null)。该参数未经初始化即被传递。</param>
3239 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.RelativePathTo(System.Runtime.InteropServices.ComTypes.IMoniker,System.Runtime.InteropServices.ComTypes.IMoniker@)">
3240 <summary>提供一个名字对象,该名字对象在被追加到当前名字对象(或一个有相似结构的名字对象)时生成指定名字对象。</summary>
3241 <param name="pmkOther">对应该对其采用相对路径的名字对象的引用。</param>
3242 <param name="ppmkRelPath">此方法返回时,包含对相关名字对象的引用。该参数未经初始化即被传递。</param>
3244 <member name="M:System.Runtime.InteropServices.ComTypes.IMoniker.Save(System.Runtime.InteropServices.ComTypes.IStream,System.Boolean)">
3245 <summary>将对象保存到指定流。</summary>
3246 <param name="pStm">将对象保存到的流。</param>
3247 <param name="fClearDirty">如果要在保存完成之后清除修改后的标志,则为 true;否则为 false</param>
3249 <member name="T:System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS">
3250 <summary>定义类型的实现或继承接口的特性。</summary>
3252 <member name="F:System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS.IMPLTYPEFLAG_FDEFAULT">
3253 <summary>该接口或调度接口表示源或接收器的默认值。</summary>
3255 <member name="F:System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS.IMPLTYPEFLAG_FDEFAULTVTABLE">
3256 <summary>接收器通过虚函数表 (VTBL) 接收事件。</summary>
3258 <member name="F:System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS.IMPLTYPEFLAG_FRESTRICTED">
3259 <summary>不应显示该成员,用户也不应可对该成员进行编程。</summary>
3261 <member name="F:System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS.IMPLTYPEFLAG_FSOURCE">
3262 <summary>调用而不是实现 coclass 的此成员。</summary>
3264 <member name="T:System.Runtime.InteropServices.ComTypes.INVOKEKIND">
3265 <summary>指定如何通过 IDispatch::Invoke 来调用函数。</summary>
3267 <member name="F:System.Runtime.InteropServices.ComTypes.INVOKEKIND.INVOKE_FUNC">
3268 <summary>使用常规函数调用语法来调用该成员。</summary>
3270 <member name="F:System.Runtime.InteropServices.ComTypes.INVOKEKIND.INVOKE_PROPERTYGET">
3271 <summary>使用常规属性访问语法来调用该函数。</summary>
3273 <member name="F:System.Runtime.InteropServices.ComTypes.INVOKEKIND.INVOKE_PROPERTYPUT">
3274 <summary>使用属性值赋值语法来调用该函数。</summary>
3276 <member name="F:System.Runtime.InteropServices.ComTypes.INVOKEKIND.INVOKE_PROPERTYPUTREF">
3277 <summary>使用属性引用赋值语法来调用该函数。</summary>
3279 <member name="T:System.Runtime.InteropServices.ComTypes.IPersistFile">
3280 <summary>提供具有 IPersist 中的功能的 IPersistFile 接口的托管定义。</summary>
3282 <member name="M:System.Runtime.InteropServices.ComTypes.IPersistFile.GetClassID(System.Guid@)">
3283 <summary>检索对象的类标识符 (CLSID)。</summary>
3284 <param name="pClassID">此方法返回时,包含对 CLSID 的引用。该参数未经初始化即被传递。</param>
3286 <member name="M:System.Runtime.InteropServices.ComTypes.IPersistFile.GetCurFile(System.String@)">
3287 <summary>检索该对象的当前工作文件的绝对路径,或者,如果没有当前工作文件,则检索该对象的默认文件名提示。</summary>
3288 <param name="ppszFileName">此方法返回时,包含指向一个以零终止的字符串的指针的地址,该字符串中包含当前文件的路径或者默认的文件名提示(如 *.txt)。该参数未经初始化即被传递。</param>
3290 <member name="M:System.Runtime.InteropServices.ComTypes.IPersistFile.IsDirty">
3291 <summary>检查对象自上次保存到其当前文件以来是否更改。</summary>
3292 <returns>如果文件自上次保存以来已经更改,则为 S_OK;如果文件自上次保存以来尚未更改,则为 S_FALSE。</returns>
3294 <member name="M:System.Runtime.InteropServices.ComTypes.IPersistFile.Load(System.String,System.Int32)">
3295 <summary>打开指定文件并从文件内容初始化对象。</summary>
3296 <param name="pszFileName">以零结尾的字符串,包含要打开的文件的绝对路径。</param>
3297 <param name="dwMode">STGM 枚举中值的组合,指示用来打开 <paramref name="pszFileName" /> 的访问模式。</param>
3299 <member name="M:System.Runtime.InteropServices.ComTypes.IPersistFile.Save(System.String,System.Boolean)">
3300 <summary>将该对象的副本保存到指定文件。</summary>
3301 <param name="pszFileName">以零结尾的字符串,包含将该对象保存到的文件的绝对路径。</param>
3302 <param name="fRemember">将 <paramref name="pszFileName" /> 参数用作当前工作文件时为 true;否则为 false。</param>
3304 <member name="M:System.Runtime.InteropServices.ComTypes.IPersistFile.SaveCompleted(System.String)">
3305 <summary>通知该对象它可以写入它的文件。</summary>
3306 <param name="pszFileName">以前保存该对象的文件的绝对路径。</param>
3308 <member name="T:System.Runtime.InteropServices.ComTypes.IRunningObjectTable">
3309 <summary>提供 IRunningObjectTable 接口的托管定义。</summary>
3311 <member name="M:System.Runtime.InteropServices.ComTypes.IRunningObjectTable.EnumRunning(System.Runtime.InteropServices.ComTypes.IEnumMoniker@)">
3312 <summary>枚举当前注册为运行对象的对象。</summary>
3313 <param name="ppenumMoniker">此方法返回时,包含运行对象表 (ROT) 的新枚举器。该参数未经初始化即被传递。</param>
3315 <member name="M:System.Runtime.InteropServices.ComTypes.IRunningObjectTable.GetObject(System.Runtime.InteropServices.ComTypes.IMoniker,System.Object@)">
3316 <summary>如果提供的对象名注册为运行对象,则返回该注册对象。</summary>
3317 <returns>一个 HRESULT 值,该值指示操作是成功还是失败。</returns>
3318 <param name="pmkObjectName">对要在运行对象表 (ROT) 中搜索的名字对象的引用。</param>
3319 <param name="ppunkObject">此方法返回时,包含请求的运行对象。该参数未经初始化即被传递。</param>
3321 <member name="M:System.Runtime.InteropServices.ComTypes.IRunningObjectTable.GetTimeOfLastChange(System.Runtime.InteropServices.ComTypes.IMoniker,System.Runtime.InteropServices.ComTypes.FILETIME@)">
3322 <summary>在运行对象表 (ROT) 中搜索此名字对象并报告所记录的更改时间(如果存在的话)。</summary>
3323 <returns>一个 HRESULT 值,该值指示操作是成功还是失败。</returns>
3324 <param name="pmkObjectName">对要在运行对象表 (ROT) 中搜索的名字对象的引用。</param>
3325 <param name="pfiletime">此对象返回时,包含对象的上次更改时间。该参数未经初始化即被传递。</param>
3327 <member name="M:System.Runtime.InteropServices.ComTypes.IRunningObjectTable.IsRunning(System.Runtime.InteropServices.ComTypes.IMoniker)">
3328 <summary>确定指定名字对象当前是否在运行对象表 (ROT) 中注册。</summary>
3329 <returns>一个 HRESULT 值,该值指示操作是成功还是失败。</returns>
3330 <param name="pmkObjectName">对要在运行对象表 (ROT) 中搜索的名字对象的引用。</param>
3332 <member name="M:System.Runtime.InteropServices.ComTypes.IRunningObjectTable.NoteChangeTime(System.Int32,System.Runtime.InteropServices.ComTypes.FILETIME@)">
3333 <summary>记录特定对象发生更改的时间,以便 IMoniker::GetTimeOfLastChange 可以报告相应更改时间。</summary>
3334 <param name="dwRegister">已更改对象的运行对象表 (ROT) 项。</param>
3335 <param name="pfiletime">对对象的上次更改时间的引用。</param>
3337 <member name="M:System.Runtime.InteropServices.ComTypes.IRunningObjectTable.Register(System.Int32,System.Object,System.Runtime.InteropServices.ComTypes.IMoniker)">
3338 <summary>注册提供的对象已进入运行状态。</summary>
3339 <returns>一个值,该值可用于在随后对 <see cref="M:System.Runtime.InteropServices.ComTypes.IRunningObjectTable.Revoke(System.Int32)" /> 或 <see cref="M:System.Runtime.InteropServices.ComTypes.IRunningObjectTable.NoteChangeTime(System.Int32,System.Runtime.InteropServices.ComTypes.FILETIME@)" /> 的调用中标识此 ROT 项。</returns>
3340 <param name="grfFlags">指定运行对象表 (ROT) 对 <paramref name="punkObject" /> 的引用是弱引用还是强引用,并通过对象在 ROT 中的项控制对它的访问。</param>
3341 <param name="punkObject">对注册为运行对象的对象的引用。</param>
3342 <param name="pmkObjectName">对标识 <paramref name="punkObject" /> 的名字对象的引用。</param>
3344 <member name="M:System.Runtime.InteropServices.ComTypes.IRunningObjectTable.Revoke(System.Int32)">
3345 <summary>从运行对象表 (ROT) 中注销指定的对象。</summary>
3346 <param name="dwRegister">要撤消的运行对象表 (ROT) 项。</param>
3348 <member name="T:System.Runtime.InteropServices.ComTypes.IStream">
3349 <summary>提供具有 ISequentialStream 功能的 IStream 接口的托管定义。</summary>
3351 <member name="M:System.Runtime.InteropServices.ComTypes.IStream.Clone(System.Runtime.InteropServices.ComTypes.IStream@)">
3352 <summary>创建一个新的流对象,该流对象具有自己的查找指针且该指针与原始流引用相同的字节。</summary>
3353 <param name="ppstm">此方法返回时,包含新的流对象。该参数未经初始化即被传递。</param>
3355 <member name="M:System.Runtime.InteropServices.ComTypes.IStream.Commit(System.Int32)">
3356 <summary>确保对在事务处理模式下打开的流对象所做的任何更改都能反映在父级存储中。</summary>
3357 <param name="grfCommitFlags">控制流对象更改的提交方式的值。</param>
3359 <member name="M:System.Runtime.InteropServices.ComTypes.IStream.CopyTo(System.Runtime.InteropServices.ComTypes.IStream,System.Int64,System.IntPtr,System.IntPtr)">
3360 <summary>将指定数量的字节从该流中的当前查找指针复制到另一个流中的当前查找指针。</summary>
3361 <param name="pstm">对目标流的引用。</param>
3362 <param name="cb">要从源流复制的字节数。</param>
3363 <param name="pcbRead">成功返回时包含从源读取的实际字节数。</param>
3364 <param name="pcbWritten">成功返回时包含写入到目标的实际字节数。</param>
3366 <member name="M:System.Runtime.InteropServices.ComTypes.IStream.LockRegion(System.Int64,System.Int64,System.Int32)">
3367 <summary>限制对流中指定字节范围的访问。</summary>
3368 <param name="libOffset">范围开始位置的字节偏移量。</param>
3369 <param name="cb">要限制的范围的长度(以字节为单位)。</param>
3370 <param name="dwLockType">所请求的对访问该范围的限制。</param>
3372 <member name="M:System.Runtime.InteropServices.ComTypes.IStream.Read(System.Byte[],System.Int32,System.IntPtr)">
3373 <summary>将指定的字节数从流对象读入从当前查找指针开始的内存。</summary>
3374 <param name="pv">此方法返回时,包含从流中读取的数据。该参数未经初始化即被传递。</param>
3375 <param name="cb">要从流对象中读取的字节数。</param>
3376 <param name="pcbRead">指向 ULONG 变量的指针,该变量接收从流对象中读取的实际字节数。</param>
3378 <member name="M:System.Runtime.InteropServices.ComTypes.IStream.Revert">
3379 <summary>放弃自从上次 <see cref="M:System.Runtime.InteropServices.ComTypes.IStream.Commit(System.Int32)" /> 调用以来对事务处理流所做的所有更改。</summary>
3381 <member name="M:System.Runtime.InteropServices.ComTypes.IStream.Seek(System.Int64,System.Int32,System.IntPtr)">
3382 <summary>将查找指针更改到相对于流的开头、流的结尾或当前查找指针的新位置。</summary>
3383 <param name="dlibMove">要添加到 <paramref name="dwOrigin" /> 的置换。</param>
3384 <param name="dwOrigin">查找的起始地址。该起始地址可以是文件的开头、当前查找指针或文件的结尾。</param>
3385 <param name="plibNewPosition">成功返回时包含从流的开头算起的查找指针的偏移量。</param>
3387 <member name="M:System.Runtime.InteropServices.ComTypes.IStream.SetSize(System.Int64)">
3388 <summary>更改流对象的大小。</summary>
3389 <param name="libNewSize">流的新大小以字节数表示。</param>
3391 <member name="M:System.Runtime.InteropServices.ComTypes.IStream.Stat(System.Runtime.InteropServices.ComTypes.STATSTG@,System.Int32)">
3392 <summary>检索此流的 <see cref="T:System.Runtime.InteropServices.STATSTG" /> 结构。</summary>
3393 <param name="pstatstg">此方法返回时,包含描述此流对象的 STATSTG 结构。该参数未经初始化即被传递。</param>
3394 <param name="grfStatFlag">在 STATSTG 结构中指定此方法不返回的成员,这样就省去了一些内存分配操作。</param>
3396 <member name="M:System.Runtime.InteropServices.ComTypes.IStream.UnlockRegion(System.Int64,System.Int64,System.Int32)">
3397 <summary>移除对先前使用 <see cref="M:System.Runtime.InteropServices.ComTypes.IStream.LockRegion(System.Int64,System.Int64,System.Int32)" /> 方法限制的字节范围的访问限制。</summary>
3398 <param name="libOffset">范围开始位置的字节偏移量。</param>
3399 <param name="cb">要限制的范围的长度(以字节为单位)。</param>
3400 <param name="dwLockType">先前设置在范围上的访问限制。</param>
3402 <member name="M:System.Runtime.InteropServices.ComTypes.IStream.Write(System.Byte[],System.Int32,System.IntPtr)">
3403 <summary>将指定数量的字节写入从当前查找指针开始的流对象。</summary>
3404 <param name="pv">要将此流写入的缓冲区。</param>
3405 <param name="cb">要写入此流的字节数。</param>
3406 <param name="pcbWritten">成功返回时包含写入此流对象的实际的字节数。如果调用方将此指针设置为 <see cref="F:System.IntPtr.Zero" />,则此方法不提供写入的实际字节数。</param>
3408 <member name="T:System.Runtime.InteropServices.ComTypes.ITypeComp">
3409 <summary>提供 ITypeComp 接口的托管定义。</summary>
3411 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeComp.Bind(System.String,System.Int32,System.Int16,System.Runtime.InteropServices.ComTypes.ITypeInfo@,System.Runtime.InteropServices.ComTypes.DESCKIND@,System.Runtime.InteropServices.ComTypes.BINDPTR@)">
3412 <summary>将名称映射到类型的成员,或者绑定类型库中包含的全局变量和函数。</summary>
3413 <param name="szName">要绑定的名称。</param>
3414 <param name="lHashVal">由 LHashValOfNameSys 计算的 <paramref name="szName" /> 的哈希值。</param>
3415 <param name="wFlags">标志字,包含一个或多个在 INVOKEKIND 枚举中定义的调用标志。</param>
3416 <param name="ppTInfo">此方法返回时,包含对类型说明(包含将其绑定到的项)的引用(如果返回了 FUNCDESC 或 VARDESC)。该参数未经初始化即被传递。</param>
3417 <param name="pDescKind">此方法返回时,包含对 DESCKIND 枚举数的引用,该枚举数指示绑定到的名称是 VARDESC、FUNCDESC 还是 TYPECOMP。该参数未经初始化即被传递。</param>
3418 <param name="pBindPtr">此方法返回时,包含对绑定到的 VARDESC、FUNCDESC 或 ITypeComp 接口的引用。该参数未经初始化即被传递。</param>
3420 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeComp.BindType(System.String,System.Int32,System.Runtime.InteropServices.ComTypes.ITypeInfo@,System.Runtime.InteropServices.ComTypes.ITypeComp@)">
3421 <summary>绑定到包含在类型库中的类型说明。</summary>
3422 <param name="szName">要绑定的名称。</param>
3423 <param name="lHashVal">由 LHashValOfNameSys 确定的 <paramref name="szName" /> 的哈希值。</param>
3424 <param name="ppTInfo">此方法返回时,包含对将 <paramref name="szName" /> 绑定到的类型的 ITypeInfo 的引用。该参数未经初始化即被传递。</param>
3425 <param name="ppTComp">此方法返回时,包含对 ITypeComp 变量的引用。该参数未经初始化即被传递。</param>
3427 <member name="T:System.Runtime.InteropServices.ComTypes.ITypeInfo">
3428 <summary>提供组件自动化 ITypeInfo 接口的托管定义。</summary>
3430 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.AddressOfMember(System.Int32,System.Runtime.InteropServices.ComTypes.INVOKEKIND,System.IntPtr@)">
3431 <summary>检索静态函数或变量(如那些在 DLL 中定义的静态函数或变量)的地址。</summary>
3432 <param name="memid">要检索的 static 成员地址的成员 ID。</param>
3433 <param name="invKind">指定该成员是否为属性(如果是,还将指定它属于哪种属性)的 <see cref="T:System.Runtime.InteropServices.ComTypes.INVOKEKIND" /> 值之一。</param>
3434 <param name="ppv">此方法返回时,包含对 static 成员的引用。该参数未经初始化即被传递。</param>
3436 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.CreateInstance(System.Object,System.Guid@,System.Object@)">
3437 <summary>创建描述组件类 (coclass) 的类型的新实例。</summary>
3438 <param name="pUnkOuter">作为控制 IUnknown 的对象。</param>
3439 <param name="riid">接口的 IID,调用方将使用该接口与结果对象进行通信。</param>
3440 <param name="ppvObj">此方法返回时,包含对已创建对象的引用。该参数未经初始化即被传递。</param>
3442 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetContainingTypeLib(System.Runtime.InteropServices.ComTypes.ITypeLib@,System.Int32@)">
3443 <summary>检索类型库,该类型库包含此类型说明和它在该类型库中的索引。</summary>
3444 <param name="ppTLB">此方法返回时,包含对包含类型库的引用。该参数未经初始化即被传递。</param>
3445 <param name="pIndex">此方法返回时,包含对包含类型库中的类型说明的索引的引用。该参数未经初始化即被传递。</param>
3447 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetDllEntry(System.Int32,System.Runtime.InteropServices.ComTypes.INVOKEKIND,System.IntPtr,System.IntPtr,System.IntPtr)">
3448 <summary>检索 DLL 中函数的入口点的说明或规范。</summary>
3449 <param name="memid">成员函数的 ID,要返回该成员函数的 DLL 入口说明。</param>
3450 <param name="invKind">指定由 <paramref name="memid" /> 标识的成员种类的 <see cref="T:System.Runtime.InteropServices.ComTypes.INVOKEKIND" /> 值之一。</param>
3451 <param name="pBstrDllName">如果不为 null,则此函数将 <paramref name="pBstrDllName" /> 设置为包含 DLL 名称的 BSTR。</param>
3452 <param name="pBstrName">如果不为 null,则此函数将 <paramref name="lpbstrName" /> 设置为包含入口点名称的 BSTR。</param>
3453 <param name="pwOrdinal">如果不为 null,并且此函数是按序号定义的,则 <paramref name="lpwOrdinal" /> 被设置为指向该序号。</param>
3455 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetDocumentation(System.Int32,System.String@,System.String@,System.Int32@,System.String@)">
3456 <summary>从文档字符串、完整的帮助文件名和路径以及帮助主题的上下文 ID 中检索指定的类型说明。</summary>
3457 <param name="index">要返回其文档的成员的 ID。</param>
3458 <param name="strName">此方法返回时,包含项方法的名称。该参数未经初始化即被传递。</param>
3459 <param name="strDocString">此方法返回时,包含指定项的文档字符串。该参数未经初始化即被传递。</param>
3460 <param name="dwHelpContext">此方法返回时,包含对与指定项相关联的帮助上下文的引用。该参数未经初始化即被传递。</param>
3461 <param name="strHelpFile">此方法返回时,包含帮助文件的完全限定名。该参数未经初始化即被传递。</param>
3463 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetFuncDesc(System.Int32,System.IntPtr@)">
3464 <summary>检索包含有关指定函数的信息的 <see cref="T:System.Runtime.InteropServices.FUNCDESC" /> 结构。</summary>
3465 <param name="index">要返回的函数说明的索引。</param>
3466 <param name="ppFuncDesc">此方法返回时,包含对描述指定函数的 FUNCDESC 结构的引用。该参数未经初始化即被传递。</param>
3468 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetIDsOfNames(System.String[],System.Int32,System.Int32[])">
3469 <summary>在成员名和成员 ID 之间以及参数名和参数 ID 之间映射。</summary>
3470 <param name="rgszNames">要映射的名称数组。</param>
3471 <param name="cNames">要映射的名称计数。</param>
3472 <param name="pMemId">此方法返回时,包含对在其中放置名称映射的数组的引用。该参数未经初始化即被传递。</param>
3474 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetImplTypeFlags(System.Int32,System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS@)">
3475 <summary>在类型说明中检索某个已实现的接口或基接口的 <see cref="T:System.Runtime.InteropServices.IMPLTYPEFLAGS" /> 值。</summary>
3476 <param name="index">已实现的接口或基接口的索引。</param>
3477 <param name="pImplTypeFlags">此方法返回时,包含对 IMPLTYPEFLAGS 枚举的引用。该参数未经初始化即被传递。</param>
3479 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetMops(System.Int32,System.String@)">
3480 <summary>检索封送处理信息。</summary>
3481 <param name="memid">成员 ID,它指示需要哪些封送处理信息。</param>
3482 <param name="pBstrMops">此方法返回时,包含对 opcode 字符串的引用,该字符串用于封送处理由引用类型说明描述的结构的字段;如果没有要返回的信息,则返回 null。该参数未经初始化即被传递。</param>
3484 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetNames(System.Int32,System.String[],System.Int32,System.Int32@)">
3485 <summary>检索具有与指定函数 ID 相对应的指定成员 ID(或者属性或方法的名称及其参数)的变量。</summary>
3486 <param name="memid">要返回其名称的成员的 ID。</param>
3487 <param name="rgBstrNames">此方法返回时,包含与成员相关联的名称。该参数未经初始化即被传递。</param>
3488 <param name="cMaxNames">
3489 <paramref name="rgBstrNames" /> 数组的长度。</param>
3490 <param name="pcNames">此方法返回时,包含 <paramref name="rgBstrNames" /> 数组中的名称数。该参数未经初始化即被传递。</param>
3492 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetRefTypeInfo(System.Int32,System.Runtime.InteropServices.ComTypes.ITypeInfo@)">
3493 <summary>检索被引用的类型说明(如果该类型说明引用其他类型说明)。</summary>
3494 <param name="hRef">要返回的被引用类型说明的句柄。</param>
3495 <param name="ppTI">此方法返回时,包含被引用的类型说明。该参数未经初始化即被传递。</param>
3497 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetRefTypeOfImplType(System.Int32,System.Int32@)">
3498 <summary>检索实现的接口类型的类型说明(如果类型说明描述 COM 类)。</summary>
3499 <param name="index">返回其句柄的已实现类型的索引。</param>
3500 <param name="href">此方法返回时,包含对已实现接口的句柄的引用。该参数未经初始化即被传递。</param>
3502 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetTypeAttr(System.IntPtr@)">
3503 <summary>检索包含类型说明的特性的 <see cref="T:System.Runtime.InteropServices.TYPEATTR" /> 结构。</summary>
3504 <param name="ppTypeAttr">此方法返回时,包含对包含此类型说明的特性的结构的引用。该参数未经初始化即被传递。</param>
3506 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetTypeComp(System.Runtime.InteropServices.ComTypes.ITypeComp@)">
3507 <summary>检索类型说明的 ITypeComp 接口,此接口使客户端编译器可以绑定到类型说明的成员。</summary>
3508 <param name="ppTComp">此方法返回时,包含对包含类型库的 ITypeComp 接口的引用。该参数未经初始化即被传递。</param>
3510 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetVarDesc(System.Int32,System.IntPtr@)">
3511 <summary>检索描述指定变量的 VARDESC 结构。</summary>
3512 <param name="index">要返回的变量说明的索引。</param>
3513 <param name="ppVarDesc">此方法返回时,包含对描述指定变量的 VARDESC 结构的引用。该参数未经初始化即被传递。</param>
3515 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.Invoke(System.Object,System.Int32,System.Int16,System.Runtime.InteropServices.ComTypes.DISPPARAMS@,System.IntPtr,System.IntPtr,System.Int32@)">
3516 <summary>调用对象的方法或访问对象的属性,该方法或属性实现由类型说明描述的接口。</summary>
3517 <param name="pvInstance">对由此类型说明描述的接口的引用。</param>
3518 <param name="memid">用于标识接口成员的值。</param>
3519 <param name="wFlags">描述 Invoke 调用的上下文的标志。</param>
3520 <param name="pDispParams">对结构的引用,该结构包含一个参数数组、一个命名参数的 DISPID 数组和每个数组中元素数的计数。</param>
3521 <param name="pVarResult">对用于存储结果的位置的引用。如果 <paramref name="wFlags" /> 指定 DISPATCH_PROPERTYPUT 或 DISPATCH_PROPERTYPUTREF,则忽略 <paramref name="pVarResult" />。如果不需要任何结果,则设置为 null。</param>
3522 <param name="pExcepInfo">指向异常信息结构的指针,该结构仅在返回 DISP_E_EXCEPTION 时才被填充。</param>
3523 <param name="puArgErr">如果 Invoke 返回 DISP_E_TYPEMISMATCH,则 <paramref name="puArgErr" /> 指示具有错误类型的参数的 <paramref name="rgvarg" /> 中的索引。如果多个参数返回错误,则 <paramref name="puArgErr" /> 仅指示第一个具有错误的参数。该参数未经初始化即被传递。</param>
3525 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.ReleaseFuncDesc(System.IntPtr)">
3526 <summary>释放先前由 <see cref="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetFuncDesc(System.Int32,System.IntPtr@)" /> 方法返回的一个 <see cref="T:System.Runtime.InteropServices.FUNCDESC" /> 结构。</summary>
3527 <param name="pFuncDesc">对要释放的 FUNCDESC 结构的引用。</param>
3529 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.ReleaseTypeAttr(System.IntPtr)">
3530 <summary>释放先前由 <see cref="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetTypeAttr(System.IntPtr@)" /> 方法返回的一个 <see cref="T:System.Runtime.InteropServices.TYPEATTR" /> 结构。</summary>
3531 <param name="pTypeAttr">对要释放的 TYPEATTR 结构的引用。</param>
3533 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.ReleaseVarDesc(System.IntPtr)">
3534 <summary>释放先前由 <see cref="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetVarDesc(System.Int32,System.IntPtr@)" /> 方法返回的一个 VARDESC 结构。</summary>
3535 <param name="pVarDesc">对要释放的 VARDESC 结构的引用。</param>
3537 <member name="T:System.Runtime.InteropServices.ComTypes.ITypeInfo2">
3538 <summary>提供 ITypeInfo2 接口的托管定义。</summary>
3540 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.AddressOfMember(System.Int32,System.Runtime.InteropServices.ComTypes.INVOKEKIND,System.IntPtr@)">
3541 <summary>检索静态函数或变量(如那些在 DLL 中定义的静态函数或变量)的地址。</summary>
3542 <param name="memid">要检索的 static 成员地址的成员 ID。</param>
3543 <param name="invKind">指定该成员是否为属性(如果是,还将指定它属于哪种属性)的 <see cref="T:System.Runtime.InteropServices.ComTypes.INVOKEKIND" /> 值之一。</param>
3544 <param name="ppv">此方法返回时,包含对 static 成员的引用。该参数未经初始化即被传递。</param>
3546 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.CreateInstance(System.Object,System.Guid@,System.Object@)">
3547 <summary>创建描述组件类 (coclass) 的类型的新实例。</summary>
3548 <param name="pUnkOuter">作为控制 IUnknown 的对象。</param>
3549 <param name="riid">接口的 IID,调用方将使用该接口与结果对象进行通信。</param>
3550 <param name="ppvObj">此方法返回时,包含对已创建对象的引用。该参数未经初始化即被传递。</param>
3552 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetAllCustData(System.IntPtr)">
3553 <summary>获取库的所有自定义数据项。</summary>
3554 <param name="pCustData">一个指向包含所有自定义数据项的 CUSTDATA 的指针。</param>
3556 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetAllFuncCustData(System.Int32,System.IntPtr)">
3557 <summary>从指定函数中获取所有自定义数据。</summary>
3558 <param name="index">用于为其获取自定义数据的函数的索引。</param>
3559 <param name="pCustData">一个指向包含所有自定义数据项的 CUSTDATA 的指针。</param>
3561 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetAllImplTypeCustData(System.Int32,System.IntPtr)">
3562 <summary>为指定的实现类型获取所有自定义数据。</summary>
3563 <param name="index">自定义数据的实现类型的索引。</param>
3564 <param name="pCustData">一个指向包含所有自定义数据项的 CUSTDATA 的指针。</param>
3566 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetAllParamCustData(System.Int32,System.Int32,System.IntPtr)">
3567 <summary>为指定的函数参数获取所有自定义数据。</summary>
3568 <param name="indexFunc">用于为其获取自定义数据的函数的索引。</param>
3569 <param name="indexParam">用于为其获取自定义数据的此函数的参数的索引。</param>
3570 <param name="pCustData">一个指向包含所有自定义数据项的 CUSTDATA 的指针。</param>
3572 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetAllVarCustData(System.Int32,System.IntPtr)">
3573 <summary>为自定义数据获取变量。</summary>
3574 <param name="index">用于为其获取自定义数据的变量的索引。</param>
3575 <param name="pCustData">一个指向包含所有自定义数据项的 CUSTDATA 的指针。</param>
3577 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetContainingTypeLib(System.Runtime.InteropServices.ComTypes.ITypeLib@,System.Int32@)">
3578 <summary>检索类型库,该类型库包含此类型说明和它在该类型库中的索引。</summary>
3579 <param name="ppTLB">此方法返回时,包含对包含类型库的引用。该参数未经初始化即被传递。</param>
3580 <param name="pIndex">此方法返回时,包含对包含类型库中的类型说明的索引的引用。该参数未经初始化即被传递。</param>
3582 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetCustData(System.Guid@,System.Object@)">
3583 <summary>获取自定义数据。</summary>
3584 <param name="guid">用于标识数据的 GUID。</param>
3585 <param name="pVarVal">此方法返回时,包含一个指定在何处放置检索到的数据的 Object。该参数未经初始化即被传递。</param>
3587 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetDllEntry(System.Int32,System.Runtime.InteropServices.ComTypes.INVOKEKIND,System.IntPtr,System.IntPtr,System.IntPtr)">
3588 <summary>检索 DLL 中函数的入口点的说明或规范。</summary>
3589 <param name="memid">成员函数的 ID,要返回该成员函数的 DLL 入口说明。</param>
3590 <param name="invKind">指定由 <paramref name="memid" /> 标识的成员种类的 <see cref="T:System.Runtime.InteropServices.ComTypes.INVOKEKIND" /> 值之一。</param>
3591 <param name="pBstrDllName">如果不为 null,则此函数将 <paramref name="pBstrDllName" /> 设置为包含 DLL 名称的 BSTR。</param>
3592 <param name="pBstrName">如果不为 null,则此函数将 <paramref name="lpbstrName" /> 设置为包含入口点名称的 BSTR。</param>
3593 <param name="pwOrdinal">如果不为 null,并且此函数是按序号定义的,则 <paramref name="lpwOrdinal" /> 被设置为指向该序号。</param>
3595 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetDocumentation(System.Int32,System.String@,System.String@,System.Int32@,System.String@)">
3596 <summary>从文档字符串、完整的帮助文件名和路径以及帮助主题的上下文 ID 中检索指定的类型说明。</summary>
3597 <param name="index">要返回其文档的成员的 ID。</param>
3598 <param name="strName">此方法返回时,包含项方法的名称。该参数未经初始化即被传递。</param>
3599 <param name="strDocString">此方法返回时,包含指定项的文档字符串。该参数未经初始化即被传递。</param>
3600 <param name="dwHelpContext">此方法返回时,包含对与指定项相关联的帮助上下文的引用。该参数未经初始化即被传递。</param>
3601 <param name="strHelpFile">此方法返回时,包含帮助文件的完全限定名。该参数未经初始化即被传递。</param>
3603 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetDocumentation2(System.Int32,System.String@,System.Int32@,System.String@)">
3604 <summary>检索文档字符串、完整的帮助文件名和路径、要使用的本地化上下文,以及帮助文件中的库帮助主题的上下文 ID。</summary>
3605 <param name="memid">类型说明的成员标识符。</param>
3606 <param name="pbstrHelpString">此方法返回时,包含一个 BSTR,其中包含指定项的名称。如果调用方不需要该项名称,则 <paramref name="pbstrHelpString" /> 可以为 null。该参数未经初始化即被传递。</param>
3607 <param name="pdwHelpStringContext">此方法返回时,包含帮助本地化上下文。如果调用方不需要该帮助上下文,则 <paramref name="pdwHelpStringContext" /> 可以为 null。该参数未经初始化即被传递。</param>
3608 <param name="pbstrHelpStringDll">此方法返回时,包含一个 BSTR,其中包含特定文件(包含帮助文件所使用的 DLL)的完全限定名。如果调用方不需要该文件名,则 <paramref name="pbstrHelpStringDll" /> 可以为 null。该参数未经初始化即被传递。</param>
3610 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetFuncCustData(System.Int32,System.Guid@,System.Object@)">
3611 <summary>从指定函数中获取自定义数据。</summary>
3612 <param name="index">用于为其获取自定义数据的函数的索引。</param>
3613 <param name="guid">用于标识数据的 GUID。</param>
3614 <param name="pVarVal">此方法返回时,包含一个指定在何处放置数据的 Object。该参数未经初始化即被传递。</param>
3616 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetFuncDesc(System.Int32,System.IntPtr@)">
3617 <summary>检索包含有关指定函数的信息的 <see cref="T:System.Runtime.InteropServices.FUNCDESC" /> 结构。</summary>
3618 <param name="index">要返回的函数说明的索引。</param>
3619 <param name="ppFuncDesc">此方法返回时,包含对描述指定函数的 FUNCDESC 结构的引用。该参数未经初始化即被传递。</param>
3621 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetFuncIndexOfMemId(System.Int32,System.Runtime.InteropServices.ComTypes.INVOKEKIND,System.Int32@)">
3622 <summary>基于已知 DISPID 绑定至特定成员,其中成员名称是未知的(例如,绑定至默认成员时)。</summary>
3623 <param name="memid">成员标识符。</param>
3624 <param name="invKind">指定由 memid 标识的成员种类的 <see cref="T:System.Runtime.InteropServices.ComTypes.INVOKEKIND" /> 值之一。</param>
3625 <param name="pFuncIndex">此方法返回时,将索引纳入函数中。该参数未经初始化即被传递。</param>
3627 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetIDsOfNames(System.String[],System.Int32,System.Int32[])">
3628 <summary>在成员名和成员 ID 之间以及参数名和参数 ID 之间映射。</summary>
3629 <param name="rgszNames">要映射的名称数组。</param>
3630 <param name="cNames">要映射的名称计数。</param>
3631 <param name="pMemId">此方法返回时,包含对在其中放置名称映射的数组的引用。该参数未经初始化即被传递。</param>
3633 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetImplTypeCustData(System.Int32,System.Guid@,System.Object@)">
3634 <summary>获取自定义数据的实现类型。</summary>
3635 <param name="index">自定义数据的实现类型的索引。</param>
3636 <param name="guid">用于标识数据的 GUID。</param>
3637 <param name="pVarVal">此方法返回时,包含一个指定在何处放置检索到的数据的 Object。该参数未经初始化即被传递。</param>
3639 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetImplTypeFlags(System.Int32,System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS@)">
3640 <summary>在类型说明中检索某个已实现的接口或基接口的 <see cref="T:System.Runtime.InteropServices.IMPLTYPEFLAGS" /> 值。</summary>
3641 <param name="index">已实现的接口或基接口的索引。</param>
3642 <param name="pImplTypeFlags">此方法返回时,包含对 IMPLTYPEFLAGS 枚举的引用。该参数未经初始化即被传递。</param>
3644 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetMops(System.Int32,System.String@)">
3645 <summary>检索封送处理信息。</summary>
3646 <param name="memid">成员 ID,它指示需要哪些封送处理信息。</param>
3647 <param name="pBstrMops">此方法返回时,包含对 opcode 字符串的引用,该字符串用于封送处理由引用类型说明描述的结构的字段;如果没有要返回的信息,则返回 null。该参数未经初始化即被传递。</param>
3649 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetNames(System.Int32,System.String[],System.Int32,System.Int32@)">
3650 <summary>检索具有与指定函数 ID 相对应的指定成员 ID(或者属性或方法的名称及其参数)的变量。</summary>
3651 <param name="memid">要返回其名称的成员的 ID。</param>
3652 <param name="rgBstrNames">此方法返回时,包含与成员相关联的名称。该参数未经初始化即被传递。</param>
3653 <param name="cMaxNames">
3654 <paramref name="rgBstrNames" /> 数组的长度。</param>
3655 <param name="pcNames">此方法返回时,包含 <paramref name="rgBstrNames" /> 数组中的名称数。该参数未经初始化即被传递。</param>
3657 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetParamCustData(System.Int32,System.Int32,System.Guid@,System.Object@)">
3658 <summary>获取指定的自定义数据参数。</summary>
3659 <param name="indexFunc">用于为其获取自定义数据的函数的索引。</param>
3660 <param name="indexParam">用于为其获取自定义数据的此函数的参数的索引。</param>
3661 <param name="guid">用于标识数据的 GUID。</param>
3662 <param name="pVarVal">此方法返回时,包含一个指定在何处放置检索到的数据的 Object。该参数未经初始化即被传递。</param>
3664 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetRefTypeInfo(System.Int32,System.Runtime.InteropServices.ComTypes.ITypeInfo@)">
3665 <summary>检索被引用的类型说明(如果该类型说明引用其他类型说明)。</summary>
3666 <param name="hRef">要返回的被引用类型说明的句柄。</param>
3667 <param name="ppTI">此方法返回时,包含被引用的类型说明。该参数未经初始化即被传递。</param>
3669 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetRefTypeOfImplType(System.Int32,System.Int32@)">
3670 <summary>检索已实现接口类型的类型说明(如果类型说明描述 COM 类)。</summary>
3671 <param name="index">返回其句柄的已实现类型的索引。</param>
3672 <param name="href">此方法返回时,包含对已实现接口的句柄的引用。该参数未经初始化即被传递。</param>
3674 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetTypeAttr(System.IntPtr@)">
3675 <summary>检索包含类型说明的特性的 <see cref="T:System.Runtime.InteropServices.TYPEATTR" /> 结构。</summary>
3676 <param name="ppTypeAttr">此方法返回时,包含对包含此类型说明的特性的结构的引用。该参数未经初始化即被传递。</param>
3678 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetTypeComp(System.Runtime.InteropServices.ComTypes.ITypeComp@)">
3679 <summary>检索类型说明的 ITypeComp 接口,此接口使客户端编译器可以绑定到类型说明的成员。</summary>
3680 <param name="ppTComp">此方法返回时,包含对包含类型库的 ITypeComp 的引用。该参数未经初始化即被传递。</param>
3682 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetTypeFlags(System.Int32@)">
3683 <summary>返回类型标志,而不进行任何分配。此方法返回 DWORD 类型标志,该标志将扩展类型标志,而不会增加 TYPEATTR(类型特性)。</summary>
3684 <param name="pTypeFlags">此方法返回时,包含对 TYPEFLAG 的 DWORD 引用。该参数未经初始化即被传递。</param>
3686 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetTypeKind(System.Runtime.InteropServices.ComTypes.TYPEKIND@)">
3687 <summary>快速返回 TYPEKIND 枚举,而不进行任何分配。</summary>
3688 <param name="pTypeKind">此方法返回时,包含对 TYPEKIND 枚举的引用。该参数未经初始化即被传递。</param>
3690 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetVarCustData(System.Int32,System.Guid@,System.Object@)">
3691 <summary>为自定义数据获取变量。</summary>
3692 <param name="index">用于为其获取自定义数据的变量的索引。</param>
3693 <param name="guid">用于标识数据的 GUID。</param>
3694 <param name="pVarVal">此方法返回时,包含一个指定在何处放置检索到的数据的 Object。该参数未经初始化即被传递。</param>
3696 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetVarDesc(System.Int32,System.IntPtr@)">
3697 <summary>检索描述指定变量的 VARDESC 结构。</summary>
3698 <param name="index">要返回的变量说明的索引。</param>
3699 <param name="ppVarDesc">此方法返回时,包含对描述指定变量的 VARDESC 结构的引用。该参数未经初始化即被传递。</param>
3701 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.GetVarIndexOfMemId(System.Int32,System.Int32@)">
3702 <summary>基于已知 DISPID 绑定至特定成员,其中成员名称是未知的(例如,绑定至默认成员时)。</summary>
3703 <param name="memid">成员标识符。</param>
3704 <param name="pVarIndex">此方法返回时,包含 <paramref name="memid" /> 的索引。该参数未经初始化即被传递。</param>
3706 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.Invoke(System.Object,System.Int32,System.Int16,System.Runtime.InteropServices.ComTypes.DISPPARAMS@,System.IntPtr,System.IntPtr,System.Int32@)">
3707 <summary>调用对象的方法或访问对象的属性,该方法或属性实现由类型说明描述的接口。</summary>
3708 <param name="pvInstance">对由此类型说明描述的接口的引用。</param>
3709 <param name="memid">接口成员的标识符。</param>
3710 <param name="wFlags">描述 Invoke 调用的上下文的标志。</param>
3711 <param name="pDispParams">对结构的引用,该结构包含一个参数数组、一个命名参数的 DISPID 数组和每个数组中元素数的计数。</param>
3712 <param name="pVarResult">对用于存储结果的位置的引用。如果 <paramref name="wFlags" /> 指定 DISPATCH_PROPERTYPUT 或 DISPATCH_PROPERTYPUTREF,则忽略 <paramref name="pVarResult" />。如果不需要任何结果,则设置为 null。</param>
3713 <param name="pExcepInfo">指向异常信息结构的指针,该结构仅在返回 DISP_E_EXCEPTION 时才被填充。</param>
3714 <param name="puArgErr">如果 Invoke 返回 DISP_E_TYPEMISMATCH,则 <paramref name="puArgErr" /> 指示具有错误类型的参数的索引。如果多个参数返回错误,则 <paramref name="puArgErr" /> 仅指示第一个具有错误的参数。</param>
3716 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.ReleaseFuncDesc(System.IntPtr)">
3717 <summary>释放先前由 <see cref="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetFuncDesc(System.Int32,System.IntPtr@)" /> 方法返回的一个 <see cref="T:System.Runtime.InteropServices.FUNCDESC" /> 结构。</summary>
3718 <param name="pFuncDesc">对要释放的 FUNCDESC 结构的引用。</param>
3720 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.ReleaseTypeAttr(System.IntPtr)">
3721 <summary>释放先前由 <see cref="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetTypeAttr(System.IntPtr@)" /> 方法返回的一个 <see cref="T:System.Runtime.InteropServices.TYPEATTR" /> 结构。</summary>
3722 <param name="pTypeAttr">对要释放的 TYPEATTR 结构的引用。</param>
3724 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeInfo2.ReleaseVarDesc(System.IntPtr)">
3725 <summary>释放先前由 <see cref="M:System.Runtime.InteropServices.ComTypes.ITypeInfo.GetVarDesc(System.Int32,System.IntPtr@)" /> 方法返回的一个 VARDESC 结构。</summary>
3726 <param name="pVarDesc">对要释放的 VARDESC 结构的引用。</param>
3728 <member name="T:System.Runtime.InteropServices.ComTypes.ITypeLib">
3729 <summary>提供 ITypeLib 接口的托管定义。</summary>
3731 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib.FindName(System.String,System.Int32,System.Runtime.InteropServices.ComTypes.ITypeInfo[],System.Int32[],System.Int16@)">
3732 <summary>在类型库中查找类型说明的匹配项。</summary>
3733 <param name="szNameBuf">要搜索的名称。这是一个输入/输出参数。</param>
3734 <param name="lHashVal">一个用于加快搜索速度的哈希值,由 LHashValOfNameSys 函数计算。如果 <paramref name="lHashVal" /> 为 0,则计算一个值。</param>
3735 <param name="ppTInfo">此方法返回时,包含一个指向类型说明的指针数组,这些类型说明中包含 <paramref name="szNameBuf" /> 中指定的名称。该参数未经初始化即被传递。</param>
3736 <param name="rgMemId">所找到的项的 MEMBERID 数组;<paramref name="rgMemId" />[i] 是由 <paramref name="ppTInfo" />[i] 指定的类型说明中建立索引的 MEMBERID。不能为 null。</param>
3737 <param name="pcFound">在进入时指示要查找的实例数。例如,可以调用 <paramref name="pcFound" />= 1 以查找第一个匹配项。当找到一个实例时停止搜索。在退出时指示找到的实例数。如果 <paramref name="pcFound" /> 的 in 和 out 值完全相同,则可能存在其他包含此名称的类型说明。</param>
3739 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetDocumentation(System.Int32,System.String@,System.String@,System.Int32@,System.String@)">
3740 <summary>检索库的文档字符串、完整的帮助文件名和路径以及帮助文件中的库帮助主题的上下文标识符。</summary>
3741 <param name="index">要返回其文档的类型说明的索引。</param>
3742 <param name="strName">此方法返回时,包含一个表示指定项的名称的字符串。该参数未经初始化即被传递。</param>
3743 <param name="strDocString">此方法返回时,包含一个表示指定项的文档字符串的字符串。该参数未经初始化即被传递。</param>
3744 <param name="dwHelpContext">此方法返回时,包含与指定项关联的帮助上下文标识符。该参数未经初始化即被传递。</param>
3745 <param name="strHelpFile">此方法返回时,包含一个表示帮助文件的完全限定名的字符串。该参数未经初始化即被传递。</param>
3747 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetLibAttr(System.IntPtr@)">
3748 <summary>检索包含库的特性的结构。</summary>
3749 <param name="ppTLibAttr">此方法返回时,包含一个结构,该结构包含库的特性。该参数未经初始化即被传递。</param>
3751 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetTypeComp(System.Runtime.InteropServices.ComTypes.ITypeComp@)">
3752 <summary>使客户端编译器能够绑定到库的类型、变量、常数和全局函数。</summary>
3753 <param name="ppTComp">此方法返回时,包含此 ITypeLib 的 ITypeComp 实例的一个实例。该参数未经初始化即被传递。</param>
3755 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetTypeInfo(System.Int32,System.Runtime.InteropServices.ComTypes.ITypeInfo@)">
3756 <summary>在库中检索指定的类型说明。</summary>
3757 <param name="index">要返回的 ITypeInfo 接口的索引。</param>
3758 <param name="ppTI">此方法返回时,包含一个 ITypeInfo,它描述 <paramref name="index" /> 引用的类型。该参数未经初始化即被传递。</param>
3760 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetTypeInfoCount">
3761 <summary>返回类型库中的类型说明的数量。</summary>
3762 <returns>类型库中的类型说明的数量。</returns>
3764 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetTypeInfoOfGuid(System.Guid@,System.Runtime.InteropServices.ComTypes.ITypeInfo@)">
3765 <summary>检索与指定的 GUID 相对应的类型说明。</summary>
3766 <param name="guid">请求其类型信息的类的接口的 IID 或 CLSID。</param>
3767 <param name="ppTInfo">此方法返回时,包含请求的 ITypeInfo 接口。该参数未经初始化即被传递。</param>
3769 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetTypeInfoType(System.Int32,System.Runtime.InteropServices.ComTypes.TYPEKIND@)">
3770 <summary>检索类型说明的类型。</summary>
3771 <param name="index">类型库中类型说明的索引。</param>
3772 <param name="pTKind">此方法返回时,包含对用于类型说明的 TYPEKIND 枚举的引用。该参数未经初始化即被传递。</param>
3774 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib.IsName(System.String,System.Int32)">
3775 <summary>指示传入的字符串是否包含库中描述的类型或成员的名称。</summary>
3776 <returns>如果在类型库中找到 <paramref name="szNameBuf" />,则为 true;否则为 false。</returns>
3777 <param name="szNameBuf">要测试的字符串。这是一个输入/输出参数。</param>
3778 <param name="lHashVal">
3779 <paramref name="szNameBuf" /> 的哈希值。</param>
3781 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib.ReleaseTLibAttr(System.IntPtr)">
3782 <summary>释放最初通过 <see cref="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetLibAttr(System.IntPtr@)" /> 方法获取的 <see cref="T:System.Runtime.InteropServices.TYPELIBATTR" /> 结构。</summary>
3783 <param name="pTLibAttr">要释放的 TLIBATTR 结构。</param>
3785 <member name="T:System.Runtime.InteropServices.ComTypes.ITypeLib2">
3786 <summary>提供 ITypeLib2 接口的托管定义。</summary>
3788 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.FindName(System.String,System.Int32,System.Runtime.InteropServices.ComTypes.ITypeInfo[],System.Int32[],System.Int16@)">
3789 <summary>在类型库中查找类型说明的匹配项。</summary>
3790 <param name="szNameBuf">要搜索的名称。</param>
3791 <param name="lHashVal">一个用于加快搜索速度的哈希值,由 LHashValOfNameSys 函数计算。如果 <paramref name="lHashVal" /> 为 0,则计算一个值。</param>
3792 <param name="ppTInfo">此方法返回时,包含一个指向类型说明的指针数组,这些类型说明中包含 <paramref name="szNameBuf" /> 中指定的名称。该参数未经初始化即被传递。</param>
3793 <param name="rgMemId">此方法返回时,包含所找到的项的 MEMBERID 数组;<paramref name="rgMemId" /> [i] 是用于通过索引访问 <paramref name="ppTInfo" /> [i] 指定的类型说明的 MEMBERID。此参数不能为 null。该参数未经初始化即被传递。</param>
3794 <param name="pcFound">输入时由引用传递的一个值,该值指示要查找的实例数。例如,可以调用 <paramref name="pcFound" />= 1 以查找第一个匹配项。当找到一个实例时停止搜索。在退出时指示找到的实例数。如果 <paramref name="pcFound" /> 的 in 和 out 值完全相同,则可能存在其他包含此名称的类型说明。</param>
3796 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.GetAllCustData(System.IntPtr)">
3797 <summary>获取库的所有自定义数据项。</summary>
3798 <param name="pCustData">一个指向包含所有自定义数据项的 CUSTDATA 的指针。</param>
3800 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.GetCustData(System.Guid@,System.Object@)">
3801 <summary>获取自定义数据。</summary>
3802 <param name="guid">由引用传递的 <see cref="T:System.Guid" />,用于标识数据。</param>
3803 <param name="pVarVal">此方法返回时,包含一个指定在何处放置检索到的数据的对象。该参数未经初始化即被传递。</param>
3805 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.GetDocumentation(System.Int32,System.String@,System.String@,System.Int32@,System.String@)">
3806 <summary>检索库的文档字符串、完整的帮助文件名和路径以及帮助文件中的库帮助主题的上下文标识符。</summary>
3807 <param name="index">要返回其文档的类型说明的索引。</param>
3808 <param name="strName">该参数在此方法返回时包含一个字符串,该字符串指定了指定项的名称。该参数未经初始化即被传递。</param>
3809 <param name="strDocString">此方法返回时,包含指定项的文档字符串。该参数未经初始化即被传递。</param>
3810 <param name="dwHelpContext">此方法返回时,包含与指定项关联的帮助上下文标识符。该参数未经初始化即被传递。</param>
3811 <param name="strHelpFile">此方法返回时,包含指定帮助文件的完全限定名的字符串。该参数未经初始化即被传递。</param>
3813 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.GetDocumentation2(System.Int32,System.String@,System.Int32@,System.String@)">
3814 <summary>检索库的文档字符串、完整的帮助文件名和路径、要使用的本地化上下文以及帮助文件中的库帮助主题的上下文标识符。</summary>
3815 <param name="index">将返回其文档的类型说明的索引;如果 <paramref name="index" /> 为 -1,则返回库的文档。</param>
3816 <param name="pbstrHelpString">该参数在此方法返回时包含一个 BSTR,该 BSTR 指定了指定项的名称。如果调用方不需要该项名称,则 <paramref name="pbstrHelpString" /> 可以为 null。该参数未经初始化即被传递。</param>
3817 <param name="pdwHelpStringContext">此方法返回时,包含帮助本地化上下文。如果调用方不需要该帮助上下文,则 <paramref name="pdwHelpStringContext" /> 可以为 null。该参数未经初始化即被传递。</param>
3818 <param name="pbstrHelpStringDll">此方法返回时,包含一个指定文件(该文件中包含用于帮助文件的 DLL)的完全限定名的 BSTR。如果调用方不需要该文件名,则 <paramref name="pbstrHelpStringDll" /> 可以为 null。该参数未经初始化即被传递。</param>
3820 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.GetLibAttr(System.IntPtr@)">
3821 <summary>检索包含库的特性的结构。</summary>
3822 <param name="ppTLibAttr">此方法返回时,包含一个结构,该结构包含库的特性。该参数未经初始化即被传递。</param>
3824 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.GetLibStatistics(System.IntPtr,System.Int32@)">
3825 <summary>返回有关类型库的统计信息,该信息是有效调整哈希表的大小所必需的。</summary>
3826 <param name="pcUniqueNames">指向唯一名称的计数的指针。如果调用方不需要此信息,则将其设置为 null。</param>
3827 <param name="pcchUniqueNames">此方法返回时,包含一个指向唯一名称计数中的更改的指针。该参数未经初始化即被传递。</param>
3829 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.GetTypeComp(System.Runtime.InteropServices.ComTypes.ITypeComp@)">
3830 <summary>使客户端编译器能够绑定到库的类型、变量、常数和全局函数。</summary>
3831 <param name="ppTComp">此方法返回时,包含一个用于此 ITypeLib 的 ITypeComp 实例。该参数未经初始化即被传递。</param>
3833 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.GetTypeInfo(System.Int32,System.Runtime.InteropServices.ComTypes.ITypeInfo@)">
3834 <summary>在库中检索指定的类型说明。</summary>
3835 <param name="index">要返回的 ITypeInfo 接口的索引。</param>
3836 <param name="ppTI">此方法返回时,包含一个 ITypeInfo,它描述 <paramref name="index" /> 引用的类型。该参数未经初始化即被传递。</param>
3838 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.GetTypeInfoCount">
3839 <summary>返回类型库中的类型说明的数量。</summary>
3840 <returns>类型库中的类型说明的数量。</returns>
3842 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.GetTypeInfoOfGuid(System.Guid@,System.Runtime.InteropServices.ComTypes.ITypeInfo@)">
3843 <summary>检索与指定的 GUID 相对应的类型说明。</summary>
3844 <param name="guid">由引用传递的 <see cref="T:System.Guid" />,它表示被请求了类型信息的类的 CLSID 接口的 IID。</param>
3845 <param name="ppTInfo">此方法返回时,包含请求的 ITypeInfo 接口。该参数未经初始化即被传递。</param>
3847 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.GetTypeInfoType(System.Int32,System.Runtime.InteropServices.ComTypes.TYPEKIND@)">
3848 <summary>检索类型说明的类型。</summary>
3849 <param name="index">类型库中类型说明的索引。</param>
3850 <param name="pTKind">此方法返回时,包含对用于类型说明的 TYPEKIND 枚举的引用。该参数未经初始化即被传递。</param>
3852 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.IsName(System.String,System.Int32)">
3853 <summary>指示传入的字符串是否包含库中描述的类型或成员的名称。</summary>
3854 <returns>如果在类型库中找到 <paramref name="szNameBuf" />,则为 true;否则为 false。</returns>
3855 <param name="szNameBuf">要测试的字符串。</param>
3856 <param name="lHashVal">
3857 <paramref name="szNameBuf" /> 的哈希值。</param>
3859 <member name="M:System.Runtime.InteropServices.ComTypes.ITypeLib2.ReleaseTLibAttr(System.IntPtr)">
3860 <summary>释放最初通过 <see cref="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetLibAttr(System.IntPtr@)" /> 方法获取的 <see cref="T:System.Runtime.InteropServices.TYPELIBATTR" /> 结构。</summary>
3861 <param name="pTLibAttr">要释放的 TLIBATTR 结构。</param>
3863 <member name="T:System.Runtime.InteropServices.ComTypes.LIBFLAGS">
3864 <summary>定义应用于类型库的标志。</summary>
3866 <member name="F:System.Runtime.InteropServices.ComTypes.LIBFLAGS.LIBFLAG_FCONTROL">
3867 <summary>类型库描述控件,并且不应在供非可视对象使用的类型浏览器中显示。</summary>
3869 <member name="F:System.Runtime.InteropServices.ComTypes.LIBFLAGS.LIBFLAG_FHASDISKIMAGE">
3870 <summary>类型库以一种持久形式存在于磁盘上。</summary>
3872 <member name="F:System.Runtime.InteropServices.ComTypes.LIBFLAGS.LIBFLAG_FHIDDEN">
3873 <summary>不应将类型库显示给用户,虽然它的使用并未受到限制。类型库应该由控件使用。宿主应创建用扩展属性包装控件的新类型库。</summary>
3875 <member name="F:System.Runtime.InteropServices.ComTypes.LIBFLAGS.LIBFLAG_FRESTRICTED">
3876 <summary>类型库受到限制且不应显示给用户。</summary>
3878 <member name="T:System.Runtime.InteropServices.ComTypes.PARAMDESC">
3879 <summary>包含有关如何在进程之间传输结构元素、参数或函数返回值的信息。</summary>
3881 <member name="F:System.Runtime.InteropServices.ComTypes.PARAMDESC.lpVarValue">
3882 <summary>表示指向正在进程之间传递的值的指针。</summary>
3884 <member name="F:System.Runtime.InteropServices.ComTypes.PARAMDESC.wParamFlags">
3885 <summary>表示描述结构元素、参数或返回值的位屏蔽值。</summary>
3887 <member name="T:System.Runtime.InteropServices.ComTypes.PARAMFLAG">
3888 <summary>描述如何在进程之间传输结构元素、参数或函数返回值。</summary>
3890 <member name="F:System.Runtime.InteropServices.ComTypes.PARAMFLAG.PARAMFLAG_FHASCUSTDATA">
3891 <summary>该参数具有自定义数据。</summary>
3893 <member name="F:System.Runtime.InteropServices.ComTypes.PARAMFLAG.PARAMFLAG_FHASDEFAULT">
3894 <summary>参数定义了默认行为。</summary>
3896 <member name="F:System.Runtime.InteropServices.ComTypes.PARAMFLAG.PARAMFLAG_FIN">
3897 <summary>参数将信息从调用方传递到被调用方。</summary>
3899 <member name="F:System.Runtime.InteropServices.ComTypes.PARAMFLAG.PARAMFLAG_FLCID">
3900 <summary>参数是客户端应用程序的本地标识符。</summary>
3902 <member name="F:System.Runtime.InteropServices.ComTypes.PARAMFLAG.PARAMFLAG_FOPT">
3903 <summary>该参数是可选的。</summary>
3905 <member name="F:System.Runtime.InteropServices.ComTypes.PARAMFLAG.PARAMFLAG_FOUT">
3906 <summary>参数将信息从被调用方返回到调用方。</summary>
3908 <member name="F:System.Runtime.InteropServices.ComTypes.PARAMFLAG.PARAMFLAG_FRETVAL">
3909 <summary>参数是成员的返回值。</summary>
3911 <member name="F:System.Runtime.InteropServices.ComTypes.PARAMFLAG.PARAMFLAG_NONE">
3912 <summary>不会指定该参数传递还是接收信息。</summary>
3914 <member name="T:System.Runtime.InteropServices.ComTypes.STATDATA">
3915 <summary>提供 STATDATA 结构的托管定义。</summary>
3917 <member name="F:System.Runtime.InteropServices.ComTypes.STATDATA.advf">
3918 <summary>表示用于确定何时向通知接收器通知数据更改的 <see cref="T:System.Runtime.InteropServices.ComTypes.ADVF" /> 枚举值。</summary>
3920 <member name="F:System.Runtime.InteropServices.ComTypes.STATDATA.advSink">
3921 <summary>表示将接收更改通知的 <see cref="T:System.Runtime.InteropServices.ComTypes.IAdviseSink" /> 接口。</summary>
3923 <member name="F:System.Runtime.InteropServices.ComTypes.STATDATA.connection">
3924 <summary>表示唯一标识通知连接的标记。此标记由设置通知连接的方法返回。</summary>
3926 <member name="F:System.Runtime.InteropServices.ComTypes.STATDATA.formatetc">
3927 <summary>表示对通知接收器有意义的数据的 <see cref="T:System.Runtime.InteropServices.ComTypes.FORMATETC" /> 结构。通知接收器将接收对 <see cref="T:System.Runtime.InteropServices.ComTypes.FORMATETC" /> 结构所指定数据的更改通知。</summary>
3929 <member name="T:System.Runtime.InteropServices.ComTypes.STATSTG">
3930 <summary>包含有关打开的存储、流或字节数组对象的统计信息。</summary>
3932 <member name="F:System.Runtime.InteropServices.ComTypes.STATSTG.atime">
3933 <summary>指定此存储、流或字节数组的上次访问时间。</summary>
3935 <member name="F:System.Runtime.InteropServices.ComTypes.STATSTG.cbSize">
3936 <summary>指定流或字节数组的大小(以字节为单位)。</summary>
3938 <member name="F:System.Runtime.InteropServices.ComTypes.STATSTG.clsid">
3939 <summary>指示存储对象的类标识符。</summary>
3941 <member name="F:System.Runtime.InteropServices.ComTypes.STATSTG.ctime">
3942 <summary>指示此存储、流或字节数组的创建时间。</summary>
3944 <member name="F:System.Runtime.InteropServices.ComTypes.STATSTG.grfLocksSupported">
3945 <summary>指示受该流或字节数组支持的区域锁定的类型。</summary>
3947 <member name="F:System.Runtime.InteropServices.ComTypes.STATSTG.grfMode">
3948 <summary>指示打开对象时指定的访问模式。</summary>
3950 <member name="F:System.Runtime.InteropServices.ComTypes.STATSTG.grfStateBits">
3951 <summary>指示存储对象的当前状态位(最近由 IStorage::SetStateBits 方法设置的值)。</summary>
3953 <member name="F:System.Runtime.InteropServices.ComTypes.STATSTG.mtime">
3954 <summary>指示此存储、流或字节数组的上次修改日期。</summary>
3956 <member name="F:System.Runtime.InteropServices.ComTypes.STATSTG.pwcsName">
3957 <summary>表示指向以 NULL 结尾的字符串的指针,该字符串包含此结构所描述的对象的名称。</summary>
3959 <member name="F:System.Runtime.InteropServices.ComTypes.STATSTG.reserved">
3960 <summary>保留供将来使用。</summary>
3962 <member name="F:System.Runtime.InteropServices.ComTypes.STATSTG.type">
3963 <summary>指示存储对象的类型,该类型为 STGTY 枚举值之一。</summary>
3965 <member name="T:System.Runtime.InteropServices.ComTypes.STGMEDIUM">
3966 <summary>提供 STGMEDIUM 结构的托管定义。</summary>
3968 <member name="F:System.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease">
3969 <summary>表示指向接口实例的指针,该指针允许发送进程控制当接收进程调用 ReleaseStgMedium 函数时释放存储的方式。如果 <see cref="F:System.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease" /> 为 null,则 ReleaseStgMedium 使用默认过程来释放存储;否则 ReleaseStgMedium 将使用指定的 IUnknown 接口。</summary>
3971 <member name="F:System.Runtime.InteropServices.ComTypes.STGMEDIUM.tymed">
3972 <summary>指定存储介质的类型。封送和取消封送例程使用此值来确定所使用的联合成员。此值必须是 <see cref="T:System.Runtime.InteropServices.ComTypes.TYMED" /> 枚举的元素之一。</summary>
3974 <member name="F:System.Runtime.InteropServices.ComTypes.STGMEDIUM.unionmember">
3975 <summary>表示接收进程可用于访问正在传输的数据的句柄、字符串或接口。</summary>
3977 <member name="T:System.Runtime.InteropServices.ComTypes.SYSKIND">
3978 <summary>标识目标操作系统平台。</summary>
3980 <member name="F:System.Runtime.InteropServices.ComTypes.SYSKIND.SYS_MAC">
3981 <summary>类型库的目标操作系统为 Apple Macintosh。默认情况下,所有数据字段在偶字节边界对齐。</summary>
3983 <member name="F:System.Runtime.InteropServices.ComTypes.SYSKIND.SYS_WIN16">
3984 <summary>类型库的目标操作系统是 16 位 Windows 系统。默认情况下,数据字段被压缩。</summary>
3986 <member name="F:System.Runtime.InteropServices.ComTypes.SYSKIND.SYS_WIN32">
3987 <summary>类型库的目标操作系统是 32 位 Windows 系统。默认情况下,数据字段自然对齐(例如,2 字节整数在偶字节边界对齐;4 字节整数在四字边界对齐,依此类推)。</summary>
3989 <member name="F:System.Runtime.InteropServices.ComTypes.SYSKIND.SYS_WIN64">
3990 <summary>类型库的目标操作系统是 64 位 Windows 系统。</summary>
3992 <member name="T:System.Runtime.InteropServices.ComTypes.TYMED">
3993 <summary>提供 TYMED 结构的托管定义。</summary>
3995 <member name="F:System.Runtime.InteropServices.ComTypes.TYMED.TYMED_ENHMF">
3996 <summary>该存储介质是增强型图元文件。如果 <see cref="T:System.Runtime.InteropServices.ComTypes.STGMEDIUM" /><see cref="F:System.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease" /> 成员为 null,目标进程应使用 DeleteEnhMetaFile 删除位图。</summary>
3998 <member name="F:System.Runtime.InteropServices.ComTypes.TYMED.TYMED_FILE">
3999 <summary>该存储介质是由路径标识的磁盘文件。如果 STGMEDIUM<see cref="F:System.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease" /> 成员为 null,目标进程应使用 OpenFile 删除文件。</summary>
4001 <member name="F:System.Runtime.InteropServices.ComTypes.TYMED.TYMED_GDI">
4002 <summary>该存储介质是图形设备接口 (GDI) 组件 (HBITMAP)。如果 <see cref="T:System.Runtime.InteropServices.ComTypes.STGMEDIUM" /><see cref="F:System.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease" /> 成员为 null,目标进程应使用 DeleteObject 删除位图。</summary>
4004 <member name="F:System.Runtime.InteropServices.ComTypes.TYMED.TYMED_HGLOBAL">
4005 <summary>该存储介质是全局内存句柄 (HGLOBAL)。使用 GMEM_SHARE 标志分配全局句柄。如果 <see cref="T:System.Runtime.InteropServices.ComTypes.STGMEDIUM" /><see cref="F:System.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease" /> 成员为 null,目标进程应使用 GlobalFree 释放内存。</summary>
4007 <member name="F:System.Runtime.InteropServices.ComTypes.TYMED.TYMED_ISTORAGE">
4008 <summary>该存储介质是由 IStorage 指针标识的存储组件。数据位于此 IStorage 实例所包含的流和存储中。如果 <see cref="T:System.Runtime.InteropServices.ComTypes.STGMEDIUM" /><see cref="F:System.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease" /> 成员不为 null,则目标进程应使用 IStorage::Release 释放存储组件。</summary>
4010 <member name="F:System.Runtime.InteropServices.ComTypes.TYMED.TYMED_ISTREAM">
4011 <summary>该存储介质是由 IStream 指针标识的流对象。使用 ISequentialStream::Read 读取数据。如果 <see cref="T:System.Runtime.InteropServices.ComTypes.STGMEDIUM" /><see cref="F:System.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease" /> 成员不为 null,则目标进程应使用 IStream::Release 释放流组件。</summary>
4013 <member name="F:System.Runtime.InteropServices.ComTypes.TYMED.TYMED_MFPICT">
4014 <summary>该存储介质是图元文件 (HMETAFILE)。使用 Windows 或 WIN32 函数来访问该图元文件的数据。如果 <see cref="T:System.Runtime.InteropServices.ComTypes.STGMEDIUM" /><see cref="F:System.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease" /> 成员为 null,目标进程应使用 DeleteMetaFile 删除位图。</summary>
4016 <member name="F:System.Runtime.InteropServices.ComTypes.TYMED.TYMED_NULL">
4017 <summary>当前没有传递任何数据。</summary>
4019 <member name="T:System.Runtime.InteropServices.ComTypes.TYPEATTR">
4020 <summary>包含 UCOMITypeInfo 的特性。</summary>
4022 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.cbAlignment">
4023 <summary>指定此类型实例的字节对齐方式。</summary>
4025 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.cbSizeInstance">
4026 <summary>此类型的实例的大小。</summary>
4028 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.cbSizeVft">
4029 <summary>此类型的虚方法表 (VTBL) 的大小。</summary>
4031 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.cFuncs">
4032 <summary>指示此结构描述的接口上的函数数目。</summary>
4034 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.cImplTypes">
4035 <summary>指示在此结构描述的接口上实现的接口数目。</summary>
4037 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.cVars">
4038 <summary>指示此结构所描述的接口上的变量和数据字段的数目。</summary>
4040 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.dwReserved">
4041 <summary>保留供将来使用。</summary>
4043 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.guid">
4044 <summary>类型信息的 GUID。</summary>
4046 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.idldescType">
4047 <summary>所描述的类型的 IDL 特性。</summary>
4049 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.lcid">
4050 <summary>成员名称和文档字符串的区域设置。</summary>
4052 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.lpstrSchema">
4053 <summary>保留供将来使用。</summary>
4055 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.MEMBER_ID_NIL">
4056 <summary>与 <see cref="F:System.Runtime.InteropServices.TYPEATTR.memidConstructor" /> 和 <see cref="F:System.Runtime.InteropServices.TYPEATTR.memidDestructor" /> 字段一起使用的常数。</summary>
4058 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.memidConstructor">
4059 <summary>构造函数的 ID,如果没有,则为 <see cref="F:System.Runtime.InteropServices.TYPEATTR.MEMBER_ID_NIL" />。</summary>
4061 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.memidDestructor">
4062 <summary>析构函数的 ID,如果没有,则为 <see cref="F:System.Runtime.InteropServices.TYPEATTR.MEMBER_ID_NIL" />。</summary>
4064 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.tdescAlias">
4065 <summary>如果 <see cref="F:System.Runtime.InteropServices.TYPEATTR.typekind" />==<see cref="F:System.Runtime.InteropServices.TYPEKIND.TKIND_ALIAS" />,则指定该类型(此类型为该类型的别名)。</summary>
4067 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.typekind">
4069 <see cref="T:System.Runtime.InteropServices.TYPEKIND" /> 值,该值描述此信息描述的类型。</summary>
4071 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.wMajorVerNum">
4072 <summary>主要版本号。</summary>
4074 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.wMinorVerNum">
4075 <summary>次要版本号。</summary>
4077 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEATTR.wTypeFlags">
4078 <summary>描述此信息的 <see cref="T:System.Runtime.InteropServices.TYPEFLAGS" /> 值。</summary>
4080 <member name="T:System.Runtime.InteropServices.ComTypes.TYPEDESC">
4081 <summary>描述变量的类型、函数的返回类型或函数参数的类型。</summary>
4083 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEDESC.lpValue">
4084 <summary>如果变量为 VT_SAFEARRAY 或 VT_PTR,则 lpValue 字段包含指向指定元素类型的 TYPEDESC 的指针。</summary>
4086 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEDESC.vt">
4087 <summary>指示由此 TYPEDESC 描述的项的 Variant 类型。</summary>
4089 <member name="T:System.Runtime.InteropServices.ComTypes.TYPEFLAGS">
4090 <summary>定义类型说明的属性和特性。</summary>
4092 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FAGGREGATABLE">
4093 <summary>该类支持聚合。</summary>
4095 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FAPPOBJECT">
4096 <summary>描述 Application 对象的类型说明。</summary>
4098 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FCANCREATE">
4099 <summary>可由 ITypeInfo::CreateInstance 创建该类型的实例。</summary>
4101 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FCONTROL">
4102 <summary>该类型是将派生其他类型的控件,而且不应显示给用户。</summary>
4104 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FDISPATCHABLE">
4105 <summary>指示该接口直接或间接从 IDispatch 派生。此标志为计算所得,没有此标志的对象描述语言。</summary>
4107 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FDUAL">
4108 <summary>该接口同时支持 IDispatch 和 VTBL 绑定。</summary>
4110 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FHIDDEN">
4111 <summary>该类型不应显示在浏览器中。</summary>
4113 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FLICENSED">
4114 <summary>该类型已授权。</summary>
4116 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FNONEXTENSIBLE">
4117 <summary>该接口在运行时无法添加成员。</summary>
4119 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FOLEAUTOMATION">
4120 <summary>该接口中使用的类型与自动化(包括 VTBL 绑定支持)完全兼容。设置双重接口时,将同时设置此标志和 <see cref="F:System.Runtime.InteropServices.TYPEFLAGS.TYPEFLAG_FDUAL" />。不允许在调度接口上设置此标志。</summary>
4122 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FPREDECLID">
4123 <summary>该类型是预定义的。该客户端应用程序应自动创建具有此特性的对象的单个实例。指向该对象的变量的名称与该对象的类名相同。</summary>
4125 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FPROXY">
4126 <summary>指示接口将使用 proxy/stub 动态链接库。此标志指定注销类型库时不应注销类型库代理。</summary>
4128 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FREPLACEABLE">
4129 <summary>该对象支持 IConnectionPointWithDefault,而且具有默认行为。</summary>
4131 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FRESTRICTED">
4132 <summary>不应是可从宏语言访问的。此标志用于系统级类型或类型浏览器不应显示的类型。</summary>
4134 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEFLAGS.TYPEFLAG_FREVERSEBIND">
4135 <summary>指示检查子级前应先检查基接口以进行名称解析,这与默认行为相反。</summary>
4137 <member name="T:System.Runtime.InteropServices.ComTypes.TYPEKIND">
4138 <summary>指定各种类型的数据和函数。</summary>
4140 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEKIND.TKIND_ALIAS">
4141 <summary>类型,它是另一个类型的别名。</summary>
4143 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEKIND.TKIND_COCLASS">
4144 <summary>已实现的组件接口集。</summary>
4146 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEKIND.TKIND_DISPATCH">
4147 <summary>可通过 IDispatch::Invoke 访问的方法和属性集。默认情况下,双重接口返回 TKIND_DISPATCH。</summary>
4149 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEKIND.TKIND_ENUM">
4150 <summary>枚举数集。</summary>
4152 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEKIND.TKIND_INTERFACE">
4153 <summary>类型,它具有虚函数(全部为纯虚函数)。</summary>
4155 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEKIND.TKIND_MAX">
4156 <summary>枚举结尾标记。</summary>
4158 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEKIND.TKIND_MODULE">
4159 <summary>模块,它只能包含静态函数和数据(例如 DLL)。</summary>
4161 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEKIND.TKIND_RECORD">
4162 <summary>没有方法的结构。</summary>
4164 <member name="F:System.Runtime.InteropServices.ComTypes.TYPEKIND.TKIND_UNION">
4165 <summary>偏移量为零的所有成员的联合。</summary>
4167 <member name="T:System.Runtime.InteropServices.ComTypes.TYPELIBATTR">
4168 <summary>标识特定类型库并为成员名称提供本地化支持。</summary>
4170 <member name="F:System.Runtime.InteropServices.ComTypes.TYPELIBATTR.guid">
4171 <summary>表示类型库的全局唯一的库 ID。</summary>
4173 <member name="F:System.Runtime.InteropServices.ComTypes.TYPELIBATTR.lcid">
4174 <summary>表示类型库的区域设置 ID。</summary>
4176 <member name="F:System.Runtime.InteropServices.ComTypes.TYPELIBATTR.syskind">
4177 <summary>表示类型库的目标硬件平台。</summary>
4179 <member name="F:System.Runtime.InteropServices.ComTypes.TYPELIBATTR.wLibFlags">
4180 <summary>表示库标志。</summary>
4182 <member name="F:System.Runtime.InteropServices.ComTypes.TYPELIBATTR.wMajorVerNum">
4183 <summary>表示类型库的主版本号。</summary>
4185 <member name="F:System.Runtime.InteropServices.ComTypes.TYPELIBATTR.wMinorVerNum">
4186 <summary>表示类型库的次版本号。</summary>
4188 <member name="T:System.Runtime.InteropServices.ComTypes.VARDESC">
4189 <summary>描述变量、常数或数据成员。</summary>
4191 <member name="F:System.Runtime.InteropServices.ComTypes.VARDESC.desc">
4192 <summary>包含有关变量的信息。</summary>
4194 <member name="F:System.Runtime.InteropServices.ComTypes.VARDESC.elemdescVar">
4195 <summary>包含变量类型。</summary>
4197 <member name="F:System.Runtime.InteropServices.ComTypes.VARDESC.lpstrSchema">
4198 <summary>保留此字段供将来使用。</summary>
4200 <member name="F:System.Runtime.InteropServices.ComTypes.VARDESC.memid">
4201 <summary>指示变量的成员 ID。</summary>
4203 <member name="F:System.Runtime.InteropServices.ComTypes.VARDESC.varkind">
4204 <summary>定义如何封送变量。</summary>
4206 <member name="F:System.Runtime.InteropServices.ComTypes.VARDESC.wVarFlags">
4207 <summary>定义变量的属性。</summary>
4209 <member name="T:System.Runtime.InteropServices.ComTypes.VARDESC.DESCUNION">
4210 <summary>包含有关变量的信息。</summary>
4212 <member name="F:System.Runtime.InteropServices.ComTypes.VARDESC.DESCUNION.lpvarValue">
4213 <summary>描述符号常数。</summary>
4215 <member name="F:System.Runtime.InteropServices.ComTypes.VARDESC.DESCUNION.oInst">
4216 <summary>指示此变量在该实例中的偏移量。</summary>
4218 <member name="T:System.Runtime.InteropServices.ComTypes.VARFLAGS">
4219 <summary>标识定义变量属性的常数。</summary>
4221 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FBINDABLE">
4222 <summary>该变量支持数据绑定。</summary>
4224 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FDEFAULTBIND">
4225 <summary>此变量是最佳地表示此对象的唯一属性。类型信息中仅有一个变量可以具有此特性。</summary>
4227 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FDEFAULTCOLLELEM">
4228 <summary>允许进行一种优化,使编译器查找“abc”类型上名为“xyz”的成员。如果找到这样的成员,而且该成员标志为默认集合的某元素的访问函数,则生成对该成员函数的调用。可以对调度接口和接口中的成员使用;不能对模块使用。</summary>
4230 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FDISPLAYBIND">
4231 <summary>该变量作为可绑定变量显示给用户。还必须设置 <see cref="F:System.Runtime.InteropServices.VARFLAGS.VARFLAG_FBINDABLE" />。</summary>
4233 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FHIDDEN">
4234 <summary>尽管该变量存在并且是可绑定的,但不应在浏览器中将它显示给用户。</summary>
4236 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FIMMEDIATEBIND">
4237 <summary>该变量作为单独的可绑定属性映射。</summary>
4239 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FNONBROWSABLE">
4240 <summary>该变量出现在对象浏览器而非属性浏览器中。</summary>
4242 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FREADONLY">
4243 <summary>不应允许给该变量赋值。</summary>
4245 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FREPLACEABLE">
4246 <summary>将该接口标记为具有默认行为。</summary>
4248 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FREQUESTEDIT">
4249 <summary>设置后,任何直接更改该属性的尝试都会导致对 IPropertyNotifySink::OnRequestEdit 的调用。OnRequestEdit 的实现确定是否接受此更改。</summary>
4251 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FRESTRICTED">
4252 <summary>该变量不应该是可以从宏语言访问的。此标志用于系统级变量或不想让类型浏览器显示的变量。</summary>
4254 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FSOURCE">
4255 <summary>该变量返回一个对象,该对象为事件的源。</summary>
4257 <member name="F:System.Runtime.InteropServices.ComTypes.VARFLAGS.VARFLAG_FUIDEFAULT">
4258 <summary>该变量是用户界面中的默认显示。</summary>
4260 <member name="T:System.Runtime.InteropServices.ComTypes.VARKIND">
4261 <summary>定义变量的种类。</summary>
4263 <member name="F:System.Runtime.InteropServices.ComTypes.VARKIND.VAR_CONST">
4264 <summary>VARDESC 结构描述符号常量。没有与之关联的内存。</summary>
4266 <member name="F:System.Runtime.InteropServices.ComTypes.VARKIND.VAR_DISPATCH">
4267 <summary>该变量只能通过 IDispatch::Invoke 访问。</summary>
4269 <member name="F:System.Runtime.InteropServices.ComTypes.VARKIND.VAR_PERINSTANCE">
4270 <summary>该变量是类型的一个字段或成员。它在类型的每个实例中存在于固定的偏移量处。</summary>
4272 <member name="F:System.Runtime.InteropServices.ComTypes.VARKIND.VAR_STATIC">
4273 <summary>该变量只有一个实例。</summary>