ExpandoObject.xml 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="ExpandoObject" FullName="System.Dynamic.ExpandoObject">
  3. <TypeSignature Language="C#" Value="public sealed class ExpandoObject : System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;string,object&gt;&gt;, System.Collections.Generic.IDictionary&lt;string,object&gt;, System.Collections.Generic.IEnumerable&lt;System.Collections.Generic.KeyValuePair&lt;string,object&gt;&gt;, System.ComponentModel.INotifyPropertyChanged, System.Dynamic.IDynamicMetaObjectProvider" />
  4. <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit ExpandoObject extends System.Object implements class System.Collections.Generic.ICollection`1&lt;valuetype System.Collections.Generic.KeyValuePair`2&lt;string, object&gt;&gt;, class System.Collections.Generic.IDictionary`2&lt;string, object&gt;, class System.Collections.Generic.IEnumerable`1&lt;valuetype System.Collections.Generic.KeyValuePair`2&lt;string, object&gt;&gt;, class System.Collections.IEnumerable, class System.ComponentModel.INotifyPropertyChanged, class System.Dynamic.IDynamicMetaObjectProvider" />
  5. <AssemblyInfo>
  6. <AssemblyName>System.Core</AssemblyName>
  7. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  8. </AssemblyInfo>
  9. <Base>
  10. <BaseTypeName>System.Object</BaseTypeName>
  11. </Base>
  12. <Interfaces>
  13. <Interface>
  14. <InterfaceName>System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;</InterfaceName>
  15. </Interface>
  16. <Interface>
  17. <InterfaceName>System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;</InterfaceName>
  18. </Interface>
  19. <Interface>
  20. <InterfaceName>System.Collections.Generic.IEnumerable&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;</InterfaceName>
  21. </Interface>
  22. <Interface>
  23. <InterfaceName>System.ComponentModel.INotifyPropertyChanged</InterfaceName>
  24. </Interface>
  25. <Interface>
  26. <InterfaceName>System.Dynamic.IDynamicMetaObjectProvider</InterfaceName>
  27. </Interface>
  28. </Interfaces>
  29. <Docs>
  30. <remarks>
  31. <attribution license="cc4" from="Microsoft" modified="false" />
  32. <para>The ExpandoObject class enables you to add and delete members of its instances at run time and also to set and get values of these members. This class supports dynamic binding, which enables you to use standard syntax like sampleObject.sampleMember instead of more complex syntax like sampleObject.GetAttribute("sampleMember").</para>
  33. <para>The ExpandoObject class implements the standard Dynamic Language Runtime (DLR) interface <see cref="T:System.Dynamic.IDynamicMetaObjectProvider" />, which enables you to share instances of the ExpandoObject class between languages that support the DLR interoperability model. For example, you can create an instance of the ExpandoObject class in C# and then pass it to an IronPython function. For more information, see <format type="text/html"><a href="f769a271-8aff-4bea-bfab-6160217ce23d">Dynamic Language Runtime Overview</a></format> documentation on the <see cref="http://go.microsoft.com/fwlink/?LinkId=141028">CodePlex</see> Web site, and <see cref="http://go.microsoft.com/fwlink/?LinkID=169157">Introducing the ExpandoObject</see> on the C# Frequently Asked Questions Web site.</para>
  34. <para>The ExpandoObject class is an implementation of the dynamic object concept that enables getting, setting, and invoking members. If you want to define types that have their own dynamic dispatch semantics, use the <see cref="T:System.Dynamic.DynamicObject" /> class. If you want to define how dynamic objects participate in the interoperability protocol and manage DLR fast dynamic dispatch caching, create your own implementation of the <see cref="T:System.Dynamic.IDynamicMetaObjectProvider" /> interface.</para>
  35. <format type="text/html">
  36. <h2>Creating an Instance</h2>
  37. </format>
  38. <para>In C#, to enable late binding for an instance of the ExpandoObject class, you must use the dynamic keyword. For more information, see <format type="text/html"><a href="3828989d-c967-4a51-b948-857ebc8fdf26">Using Type Dynamic (C# Programming Guide)</a></format>.</para>
  39. <para>In Visual Basic, dynamic operations are supported by late binding. For more information, see <format type="text/html"><a href="d6ff7f1e-b94f-4205-ab8d-5cfa91758724">Early and Late Binding</a></format>.</para>
  40. <para>The following code example demonstrates how to create an instance of the ExpandoObject class.</para>
  41. <para>code reference: System.Dynamic.ExpandoObject#1</para>
  42. <format type="text/html">
  43. <h2>Adding New Members</h2>
  44. </format>
  45. <para>You can add properties, methods, and events to instances of the ExpandoObject class.</para>
  46. <para>The following code example demonstrates how to add a new property to an instance of the ExpandoObject class.</para>
  47. <para>code reference: System.Dynamic.ExpandoObject#2</para>
  48. <para>The methods represent lambda expressions that are stored as delegates, which can be invoked when they are needed. The following code example demonstrates how to add a method that increments a value of the dynamic property.</para>
  49. <para>code reference: System.Dynamic.ExpandoObject#3</para>
  50. <para>The following code example demonstrates how to add an event to an instance of the ExpandoObject class.</para>
  51. <code>class Program
  52. {
  53. static void Main(string[] args)
  54. {
  55. dynamic sampleObject = new ExpandoObject();
  56. // Create a new event and initialize it with null.
  57. sampleObject.sampleEvent = null;
  58. // Add an event handler.
  59. sampleObject.sampleEvent += new EventHandler(SampleHandler);
  60. // Raise an event for testing purposes.
  61. sampleObject.sampleEvent(sampleObject, new EventArgs());
  62. }
  63. // Event handler.
  64. static void SampleHandler(object sender, EventArgs e)
  65. {
  66. Console.WriteLine("SampleHandler for {0} event", sender);
  67. }
  68. }
  69. // This code example produces the following output:
  70. // SampleHandler for System.Dynamic.ExpandoObject event.</code>
  71. <code>Module Module1
  72. Sub Main()
  73. Dim sampleObject As Object = New ExpandoObject()
  74. ' Create a new event and initialize it with null.
  75. sampleObject.sampleEvent = Nothing
  76. ' Add an event handler.
  77. Dim handler As EventHandler = AddressOf SampleHandler
  78. sampleObject.sampleEvent =
  79. [Delegate].Combine(sampleObject.sampleEvent, handler)
  80. ' Raise an event for testing purposes.
  81. sampleObject.sampleEvent.Invoke(sampleObject, New EventArgs())
  82. End Sub
  83. ' Event handler.
  84. Sub SampleHandler(ByVal sender As Object, ByVal e As EventArgs)
  85. Console.WriteLine("SampleHandler for {0} event", sender)
  86. End Sub
  87. ' This code example produces the following output:
  88. ' SampleHandler for System.Dynamic.ExpandoObject event.
  89. End Module</code>
  90. <format type="text/html">
  91. <h2>Passing As a Parameter</h2>
  92. </format>
  93. <para>You can pass instances of the ExpandoObject class as parameters. Note that these instances are treated as dynamic objects in C# and late-bound objects in Visual Basic. This means that you do not have IntelliSense for object members and you do not receive compiler errors when you call non-existent members. If you call a member that does not exist, an exception occurs.</para>
  94. <para>The following code example demonstrates how you can create and use a method to print the names and values of properties.</para>
  95. <para>code reference: System.Dynamic.ExpandoObject#4</para>
  96. <format type="text/html">
  97. <h2>Enumerating and Deleting Members</h2>
  98. </format>
  99. <para>The ExpandoObject class implements the IDictionary&lt;String, Object&gt; interface. This enables enumeration of members added to the instance of the ExpandoObject class at run time. This can be useful if you do not know at compile time what members an instance might have.</para>
  100. <para>The following code example shows how you can cast an instance of the ExpandoObject class to the <see cref="T:System.Collections.Generic.IDictionary`2" /> interface and enumerate the instance's members.</para>
  101. <para>code reference: System.Dynamic.ExpandoObject#5</para>
  102. <para>In languages that do not have syntax for deleting members (such as C# and Visual Basic), you can delete a member by implicitly casting an instance of the ExpandoObject to the IDictionary&lt;String, Object&gt; interface and then deleting the member as a key/value pair. This is shown in the following example.</para>
  103. <para>code reference: System.Dynamic.ExpandoObject#6</para>
  104. <format type="text/html">
  105. <h2>Receiving Notifications of Property Changes</h2>
  106. </format>
  107. <para>The ExpandoObject class implements the <see cref="T:System.ComponentModel.INotifyPropertyChanged" /> interface and can raise a <see cref="E:System.ComponentModel.INotifyPropertyChanged.PropertyChanged" /> event when a member is added, deleted, or modified. This enables ExpandoObject class integration with Windows Presentation Foundation (WPF) data binding and other environments that require notification about changes in the object content.</para>
  108. <para>The following code example demonstrates how to create an event handler for the PropertyChanged event.</para>
  109. <para>code reference: System.Dynamic.ExpandoObject#7</para>
  110. </remarks>
  111. <summary>
  112. <attribution license="cc4" from="Microsoft" modified="false" />
  113. <para>Represents an object whose members can be dynamically added and removed at run time.</para>
  114. </summary>
  115. </Docs>
  116. <Members>
  117. <Member MemberName=".ctor">
  118. <MemberSignature Language="C#" Value="public ExpandoObject ();" />
  119. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
  120. <MemberType>Constructor</MemberType>
  121. <AssemblyInfo>
  122. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  123. </AssemblyInfo>
  124. <Parameters />
  125. <Docs>
  126. <remarks>To be added.</remarks>
  127. <summary>
  128. <attribution license="cc4" from="Microsoft" modified="false" />
  129. <para>Initializes a new ExpandoObject that does not have members.</para>
  130. </summary>
  131. </Docs>
  132. </Member>
  133. <Member MemberName="System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;.Add">
  134. <MemberSignature Language="C#" Value="void ICollection&lt;KeyValuePair&lt;string,object&gt;&gt;.Add (System.Collections.Generic.KeyValuePair&lt;string,object&gt; item);" />
  135. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;string,object&gt;&gt;.Add(valuetype System.Collections.Generic.KeyValuePair`2&lt;string, object&gt; item) cil managed" />
  136. <MemberType>Method</MemberType>
  137. <AssemblyInfo>
  138. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  139. </AssemblyInfo>
  140. <ReturnValue>
  141. <ReturnType>System.Void</ReturnType>
  142. </ReturnValue>
  143. <Parameters>
  144. <Parameter Name="item" Type="System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;" />
  145. </Parameters>
  146. <Docs>
  147. <param name="item">To be added.</param>
  148. <summary>To be added.</summary>
  149. <remarks>To be added.</remarks>
  150. </Docs>
  151. </Member>
  152. <Member MemberName="System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;.Clear">
  153. <MemberSignature Language="C#" Value="void ICollection&lt;KeyValuePair&lt;string,object&gt;&gt;.Clear ();" />
  154. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;string,object&gt;&gt;.Clear() cil managed" />
  155. <MemberType>Method</MemberType>
  156. <AssemblyInfo>
  157. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  158. </AssemblyInfo>
  159. <ReturnValue>
  160. <ReturnType>System.Void</ReturnType>
  161. </ReturnValue>
  162. <Parameters />
  163. <Docs>
  164. <summary>To be added.</summary>
  165. <remarks>To be added.</remarks>
  166. </Docs>
  167. </Member>
  168. <Member MemberName="System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;.Contains">
  169. <MemberSignature Language="C#" Value="bool ICollection&lt;KeyValuePair&lt;string,object&gt;&gt;.Contains (System.Collections.Generic.KeyValuePair&lt;string,object&gt; item);" />
  170. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance bool System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;string,object&gt;&gt;.Contains(valuetype System.Collections.Generic.KeyValuePair`2&lt;string, object&gt; item) cil managed" />
  171. <MemberType>Method</MemberType>
  172. <AssemblyInfo>
  173. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  174. </AssemblyInfo>
  175. <ReturnValue>
  176. <ReturnType>System.Boolean</ReturnType>
  177. </ReturnValue>
  178. <Parameters>
  179. <Parameter Name="item" Type="System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;" />
  180. </Parameters>
  181. <Docs>
  182. <param name="item">To be added.</param>
  183. <summary>To be added.</summary>
  184. <returns>To be added.</returns>
  185. <remarks>To be added.</remarks>
  186. </Docs>
  187. </Member>
  188. <Member MemberName="System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;.CopyTo">
  189. <MemberSignature Language="C#" Value="void ICollection&lt;KeyValuePair&lt;string,object&gt;&gt;.CopyTo (System.Collections.Generic.KeyValuePair&lt;string,object&gt;[] array, int arrayIndex);" />
  190. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;string,object&gt;&gt;.CopyTo(valuetype System.Collections.Generic.KeyValuePair`2&lt;string, object&gt;[] array, int32 arrayIndex) cil managed" />
  191. <MemberType>Method</MemberType>
  192. <AssemblyInfo>
  193. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  194. </AssemblyInfo>
  195. <ReturnValue>
  196. <ReturnType>System.Void</ReturnType>
  197. </ReturnValue>
  198. <Parameters>
  199. <Parameter Name="array" Type="System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;[]" />
  200. <Parameter Name="arrayIndex" Type="System.Int32" />
  201. </Parameters>
  202. <Docs>
  203. <param name="array">To be added.</param>
  204. <param name="arrayIndex">To be added.</param>
  205. <summary>To be added.</summary>
  206. <remarks>To be added.</remarks>
  207. </Docs>
  208. </Member>
  209. <Member MemberName="System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;.Count">
  210. <MemberSignature Language="C#" Value="int System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;.Count { get; }" />
  211. <MemberSignature Language="ILAsm" Value=".property instance int32 System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;string,object&gt;&gt;.Count" />
  212. <MemberType>Property</MemberType>
  213. <AssemblyInfo>
  214. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  215. </AssemblyInfo>
  216. <ReturnValue>
  217. <ReturnType>System.Int32</ReturnType>
  218. </ReturnValue>
  219. <Docs>
  220. <summary>To be added.</summary>
  221. <value>To be added.</value>
  222. <remarks>To be added.</remarks>
  223. </Docs>
  224. </Member>
  225. <Member MemberName="System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;.IsReadOnly">
  226. <MemberSignature Language="C#" Value="bool System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;.IsReadOnly { get; }" />
  227. <MemberSignature Language="ILAsm" Value=".property instance bool System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;string,object&gt;&gt;.IsReadOnly" />
  228. <MemberType>Property</MemberType>
  229. <AssemblyInfo>
  230. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  231. </AssemblyInfo>
  232. <ReturnValue>
  233. <ReturnType>System.Boolean</ReturnType>
  234. </ReturnValue>
  235. <Docs>
  236. <summary>To be added.</summary>
  237. <value>To be added.</value>
  238. <remarks>To be added.</remarks>
  239. </Docs>
  240. </Member>
  241. <Member MemberName="System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;.Remove">
  242. <MemberSignature Language="C#" Value="bool ICollection&lt;KeyValuePair&lt;string,object&gt;&gt;.Remove (System.Collections.Generic.KeyValuePair&lt;string,object&gt; item);" />
  243. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance bool System.Collections.Generic.ICollection&lt;System.Collections.Generic.KeyValuePair&lt;string,object&gt;&gt;.Remove(valuetype System.Collections.Generic.KeyValuePair`2&lt;string, object&gt; item) cil managed" />
  244. <MemberType>Method</MemberType>
  245. <AssemblyInfo>
  246. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  247. </AssemblyInfo>
  248. <ReturnValue>
  249. <ReturnType>System.Boolean</ReturnType>
  250. </ReturnValue>
  251. <Parameters>
  252. <Parameter Name="item" Type="System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;" />
  253. </Parameters>
  254. <Docs>
  255. <param name="item">To be added.</param>
  256. <summary>To be added.</summary>
  257. <returns>To be added.</returns>
  258. <remarks>To be added.</remarks>
  259. </Docs>
  260. </Member>
  261. <Member MemberName="System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;.Add">
  262. <MemberSignature Language="C#" Value="void IDictionary&lt;string,object&gt;.Add (string key, object value);" />
  263. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Collections.Generic.IDictionary&lt;string,object&gt;.Add(string key, object value) cil managed" />
  264. <MemberType>Method</MemberType>
  265. <AssemblyInfo>
  266. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  267. </AssemblyInfo>
  268. <ReturnValue>
  269. <ReturnType>System.Void</ReturnType>
  270. </ReturnValue>
  271. <Parameters>
  272. <Parameter Name="key" Type="System.String" />
  273. <Parameter Name="value" Type="System.Object" />
  274. </Parameters>
  275. <Docs>
  276. <param name="key">To be added.</param>
  277. <param name="value">To be added.</param>
  278. <summary>To be added.</summary>
  279. <remarks>To be added.</remarks>
  280. </Docs>
  281. </Member>
  282. <Member MemberName="System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;.ContainsKey">
  283. <MemberSignature Language="C#" Value="bool IDictionary&lt;string,object&gt;.ContainsKey (string key);" />
  284. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance bool System.Collections.Generic.IDictionary&lt;string,object&gt;.ContainsKey(string key) cil managed" />
  285. <MemberType>Method</MemberType>
  286. <AssemblyInfo>
  287. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  288. </AssemblyInfo>
  289. <ReturnValue>
  290. <ReturnType>System.Boolean</ReturnType>
  291. </ReturnValue>
  292. <Parameters>
  293. <Parameter Name="key" Type="System.String" />
  294. </Parameters>
  295. <Docs>
  296. <param name="key">To be added.</param>
  297. <summary>To be added.</summary>
  298. <returns>To be added.</returns>
  299. <remarks>To be added.</remarks>
  300. </Docs>
  301. </Member>
  302. <Member MemberName="System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;.Item">
  303. <MemberSignature Language="C#" Value="object System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;.Item[string key] { get; set; }" />
  304. <MemberSignature Language="ILAsm" Value=".property instance object System.Collections.Generic.IDictionary&lt;string,object&gt;.Item(string)" />
  305. <MemberType>Property</MemberType>
  306. <AssemblyInfo>
  307. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  308. </AssemblyInfo>
  309. <ReturnValue>
  310. <ReturnType>System.Object</ReturnType>
  311. </ReturnValue>
  312. <Parameters>
  313. <Parameter Name="key" Type="System.String" />
  314. </Parameters>
  315. <Docs>
  316. <param name="key">To be added.</param>
  317. <summary>To be added.</summary>
  318. <value>To be added.</value>
  319. <remarks>To be added.</remarks>
  320. </Docs>
  321. </Member>
  322. <Member MemberName="System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;.Keys">
  323. <MemberSignature Language="C#" Value="System.Collections.Generic.ICollection&lt;string&gt; System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;.Keys { get; }" />
  324. <MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.ICollection`1&lt;string&gt; System.Collections.Generic.IDictionary&lt;string,object&gt;.Keys" />
  325. <MemberType>Property</MemberType>
  326. <AssemblyInfo>
  327. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  328. </AssemblyInfo>
  329. <ReturnValue>
  330. <ReturnType>System.Collections.Generic.ICollection&lt;System.String&gt;</ReturnType>
  331. </ReturnValue>
  332. <Docs>
  333. <summary>To be added.</summary>
  334. <value>To be added.</value>
  335. <remarks>To be added.</remarks>
  336. </Docs>
  337. </Member>
  338. <Member MemberName="System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;.Remove">
  339. <MemberSignature Language="C#" Value="bool IDictionary&lt;string,object&gt;.Remove (string key);" />
  340. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance bool System.Collections.Generic.IDictionary&lt;string,object&gt;.Remove(string key) cil managed" />
  341. <MemberType>Method</MemberType>
  342. <AssemblyInfo>
  343. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  344. </AssemblyInfo>
  345. <ReturnValue>
  346. <ReturnType>System.Boolean</ReturnType>
  347. </ReturnValue>
  348. <Parameters>
  349. <Parameter Name="key" Type="System.String" />
  350. </Parameters>
  351. <Docs>
  352. <param name="key">To be added.</param>
  353. <summary>To be added.</summary>
  354. <returns>To be added.</returns>
  355. <remarks>To be added.</remarks>
  356. </Docs>
  357. </Member>
  358. <Member MemberName="System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;.TryGetValue">
  359. <MemberSignature Language="C#" Value="bool IDictionary&lt;string,object&gt;.TryGetValue (string key, out object value);" />
  360. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance bool System.Collections.Generic.IDictionary&lt;string,object&gt;.TryGetValue(string key, object value) cil managed" />
  361. <MemberType>Method</MemberType>
  362. <AssemblyInfo>
  363. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  364. </AssemblyInfo>
  365. <ReturnValue>
  366. <ReturnType>System.Boolean</ReturnType>
  367. </ReturnValue>
  368. <Parameters>
  369. <Parameter Name="key" Type="System.String" />
  370. <Parameter Name="value" Type="System.Object&amp;" RefType="out" />
  371. </Parameters>
  372. <Docs>
  373. <param name="key">To be added.</param>
  374. <param name="value">To be added.</param>
  375. <summary>To be added.</summary>
  376. <returns>To be added.</returns>
  377. <remarks>To be added.</remarks>
  378. </Docs>
  379. </Member>
  380. <Member MemberName="System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;.Values">
  381. <MemberSignature Language="C#" Value="System.Collections.Generic.ICollection&lt;object&gt; System.Collections.Generic.IDictionary&lt;System.String,System.Object&gt;.Values { get; }" />
  382. <MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.ICollection`1&lt;object&gt; System.Collections.Generic.IDictionary&lt;string,object&gt;.Values" />
  383. <MemberType>Property</MemberType>
  384. <AssemblyInfo>
  385. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  386. </AssemblyInfo>
  387. <ReturnValue>
  388. <ReturnType>System.Collections.Generic.ICollection&lt;System.Object&gt;</ReturnType>
  389. </ReturnValue>
  390. <Docs>
  391. <summary>To be added.</summary>
  392. <value>To be added.</value>
  393. <remarks>To be added.</remarks>
  394. </Docs>
  395. </Member>
  396. <Member MemberName="System.Collections.Generic.IEnumerable&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;.GetEnumerator">
  397. <MemberSignature Language="C#" Value="System.Collections.Generic.IEnumerator&lt;System.Collections.Generic.KeyValuePair&lt;string,object&gt;&gt; IEnumerable&lt;KeyValuePair&lt;string,object&gt;&gt;.GetEnumerator ();" />
  398. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class System.Collections.Generic.IEnumerator`1&lt;valuetype System.Collections.Generic.KeyValuePair`2&lt;string, object&gt;&gt; System.Collections.Generic.IEnumerable&lt;System.Collections.Generic.KeyValuePair&lt;string,object&gt;&gt;.GetEnumerator() cil managed" />
  399. <MemberType>Method</MemberType>
  400. <AssemblyInfo>
  401. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  402. </AssemblyInfo>
  403. <ReturnValue>
  404. <ReturnType>System.Collections.Generic.IEnumerator&lt;System.Collections.Generic.KeyValuePair&lt;System.String,System.Object&gt;&gt;</ReturnType>
  405. </ReturnValue>
  406. <Parameters />
  407. <Docs>
  408. <summary>To be added.</summary>
  409. <returns>To be added.</returns>
  410. <remarks>To be added.</remarks>
  411. </Docs>
  412. </Member>
  413. <Member MemberName="System.Collections.IEnumerable.GetEnumerator">
  414. <MemberSignature Language="C#" Value="System.Collections.IEnumerator IEnumerable.GetEnumerator ();" />
  415. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() cil managed" />
  416. <MemberType>Method</MemberType>
  417. <AssemblyInfo>
  418. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  419. </AssemblyInfo>
  420. <ReturnValue>
  421. <ReturnType>System.Collections.IEnumerator</ReturnType>
  422. </ReturnValue>
  423. <Parameters />
  424. <Docs>
  425. <remarks>To be added.</remarks>
  426. <summary>
  427. <attribution license="cc4" from="Microsoft" modified="false" />
  428. <para>Returns an enumerator that iterates through the collection.</para>
  429. </summary>
  430. <returns>
  431. <attribution license="cc4" from="Microsoft" modified="false" />
  432. <para>An <see cref="T:System.Collections.IEnumerator" /> that can be used to iterate through the collection.</para>
  433. </returns>
  434. </Docs>
  435. </Member>
  436. <Member MemberName="System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject">
  437. <MemberSignature Language="C#" Value="System.Dynamic.DynamicMetaObject IDynamicMetaObjectProvider.GetMetaObject (System.Linq.Expressions.Expression parameter);" />
  438. <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class System.Dynamic.DynamicMetaObject System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(class System.Linq.Expressions.Expression parameter) cil managed" />
  439. <MemberType>Method</MemberType>
  440. <AssemblyInfo>
  441. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  442. </AssemblyInfo>
  443. <ReturnValue>
  444. <ReturnType>System.Dynamic.DynamicMetaObject</ReturnType>
  445. </ReturnValue>
  446. <Parameters>
  447. <Parameter Name="parameter" Type="System.Linq.Expressions.Expression" />
  448. </Parameters>
  449. <Docs>
  450. <remarks>To be added.</remarks>
  451. <summary>
  452. <attribution license="cc4" from="Microsoft" modified="false" />
  453. <para>The provided MetaObject will dispatch to the dynamic virtual methods. The object can be encapsulated inside another MetaObject to provide custom behavior for individual actions.</para>
  454. </summary>
  455. <returns>
  456. <attribution license="cc4" from="Microsoft" modified="false" />
  457. <para>The object of the <see cref="T:System.Dynamic.DynamicMetaObject" /> type.</para>
  458. </returns>
  459. <param name="parameter">
  460. <attribution license="cc4" from="Microsoft" modified="false" />The expression that represents the MetaObject to dispatch to the Dynamic virtual methods.</param>
  461. </Docs>
  462. </Member>
  463. </Members>
  464. </Type>