UniqueId.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="UniqueId" FullName="System.Xml.UniqueId">
  3. <TypeSignature Language="C#" Value="public class UniqueId" />
  4. <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit UniqueId extends System.Object" />
  5. <AssemblyInfo>
  6. <AssemblyName>System.Runtime.Serialization</AssemblyName>
  7. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  8. </AssemblyInfo>
  9. <Base>
  10. <BaseTypeName>System.Object</BaseTypeName>
  11. </Base>
  12. <Interfaces />
  13. <Docs>
  14. <remarks>
  15. <attribution license="cc4" from="Microsoft" modified="false" />
  16. <para>This class can hold any string value, but has optimizations for dealing with <see cref="T:System.Guid" />s.</para>
  17. </remarks>
  18. <summary>
  19. <attribution license="cc4" from="Microsoft" modified="false" />
  20. <para>A unique identifier optimized for Guids.</para>
  21. </summary>
  22. </Docs>
  23. <Members>
  24. <Member MemberName=".ctor">
  25. <MemberSignature Language="C#" Value="public UniqueId ();" />
  26. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
  27. <MemberType>Constructor</MemberType>
  28. <AssemblyInfo>
  29. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  30. </AssemblyInfo>
  31. <Parameters />
  32. <Docs>
  33. <remarks>To be added.</remarks>
  34. <summary>
  35. <attribution license="cc4" from="Microsoft" modified="false" />
  36. <para>Creates a new instance of this class with a new, unique Guid.</para>
  37. </summary>
  38. </Docs>
  39. </Member>
  40. <Member MemberName=".ctor">
  41. <MemberSignature Language="C#" Value="public UniqueId (byte[] id);" />
  42. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int8[] id) cil managed" />
  43. <MemberType>Constructor</MemberType>
  44. <AssemblyInfo>
  45. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  46. </AssemblyInfo>
  47. <Parameters>
  48. <Parameter Name="id" Type="System.Byte[]" />
  49. </Parameters>
  50. <Docs>
  51. <param name="id">To be added.</param>
  52. <remarks>
  53. <attribution license="cc4" from="Microsoft" modified="false" />
  54. <para>Only the first 16 bytes of the array are used.</para>
  55. </remarks>
  56. <summary>
  57. <attribution license="cc4" from="Microsoft" modified="false" />
  58. <para>Creates a new instance of this class using a byte array that represents a <see cref="T:System.Guid" />.</para>
  59. </summary>
  60. </Docs>
  61. </Member>
  62. <Member MemberName=".ctor">
  63. <MemberSignature Language="C#" Value="public UniqueId (Guid id);" />
  64. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.Guid id) cil managed" />
  65. <MemberType>Constructor</MemberType>
  66. <AssemblyInfo>
  67. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  68. </AssemblyInfo>
  69. <Parameters>
  70. <Parameter Name="id" Type="System.Guid" />
  71. </Parameters>
  72. <Docs>
  73. <param name="id">To be added.</param>
  74. <remarks>To be added.</remarks>
  75. <summary>
  76. <attribution license="cc4" from="Microsoft" modified="false" />
  77. <para>Creates a new instance of this class using a <see cref="T:System.Guid" />.</para>
  78. </summary>
  79. </Docs>
  80. </Member>
  81. <Member MemberName=".ctor">
  82. <MemberSignature Language="C#" Value="public UniqueId (string value);" />
  83. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string value) cil managed" />
  84. <MemberType>Constructor</MemberType>
  85. <AssemblyInfo>
  86. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  87. </AssemblyInfo>
  88. <Attributes>
  89. <Attribute>
  90. <AttributeName>System.Security.SecurityCritical</AttributeName>
  91. </Attribute>
  92. <Attribute>
  93. <AttributeName>System.Security.SecurityTreatAsSafe</AttributeName>
  94. </Attribute>
  95. </Attributes>
  96. <Parameters>
  97. <Parameter Name="value" Type="System.String" />
  98. </Parameters>
  99. <Docs>
  100. <remarks>
  101. <attribution license="cc4" from="Microsoft" modified="false" />
  102. <para>Any string non-zero length string is a valid value.</para>
  103. </remarks>
  104. <summary>
  105. <attribution license="cc4" from="Microsoft" modified="false" />
  106. <para>Creates a new instance of this class using a string.</para>
  107. </summary>
  108. <param name="value">
  109. <attribution license="cc4" from="Microsoft" modified="false" />A string used to generate the <see cref="T:System.Xml.UniqueId" />.</param>
  110. </Docs>
  111. </Member>
  112. <Member MemberName=".ctor">
  113. <MemberSignature Language="C#" Value="public UniqueId (byte[] id, int offset);" />
  114. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int8[] id, int32 offset) cil managed" />
  115. <MemberType>Constructor</MemberType>
  116. <AssemblyInfo>
  117. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  118. </AssemblyInfo>
  119. <Attributes>
  120. <Attribute>
  121. <AttributeName>System.Security.SecurityCritical</AttributeName>
  122. </Attribute>
  123. <Attribute>
  124. <AttributeName>System.Security.SecurityTreatAsSafe</AttributeName>
  125. </Attribute>
  126. </Attributes>
  127. <Parameters>
  128. <Parameter Name="id" Type="System.Byte[]" />
  129. <Parameter Name="offset" Type="System.Int32" />
  130. </Parameters>
  131. <Docs>
  132. <param name="id">To be added.</param>
  133. <remarks>
  134. <attribution license="cc4" from="Microsoft" modified="false" />
  135. <para>Only the first 16 bytes at the specified offset are used.</para>
  136. </remarks>
  137. <summary>
  138. <attribution license="cc4" from="Microsoft" modified="false" />
  139. <para>Creates a new instance of this class starting from an offset within a byte array that represents a <see cref="T:System.Guid" />.</para>
  140. </summary>
  141. <param name="offset">
  142. <attribution license="cc4" from="Microsoft" modified="false" />Offset position within the byte array that represents a <see cref="T:System.Guid" />.</param>
  143. </Docs>
  144. </Member>
  145. <Member MemberName=".ctor">
  146. <MemberSignature Language="C#" Value="public UniqueId (char[] id, int offset, int count);" />
  147. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(char[] id, int32 offset, int32 count) cil managed" />
  148. <MemberType>Constructor</MemberType>
  149. <AssemblyInfo>
  150. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  151. </AssemblyInfo>
  152. <Attributes>
  153. <Attribute>
  154. <AttributeName>System.Security.SecurityCritical</AttributeName>
  155. </Attribute>
  156. <Attribute>
  157. <AttributeName>System.Security.SecurityTreatAsSafe</AttributeName>
  158. </Attribute>
  159. </Attributes>
  160. <Parameters>
  161. <Parameter Name="id" Type="System.Char[]" />
  162. <Parameter Name="offset" Type="System.Int32" />
  163. <Parameter Name="count" Type="System.Int32" />
  164. </Parameters>
  165. <Docs>
  166. <param name="id">To be added.</param>
  167. <remarks>To be added.</remarks>
  168. <summary>
  169. <attribution license="cc4" from="Microsoft" modified="false" />
  170. <para>Creates a new instance of this class starting from an offset within a char using a specified number of entries.</para>
  171. </summary>
  172. <param name="offset">
  173. <attribution license="cc4" from="Microsoft" modified="false" />Offset position within the char array that represents a <see cref="T:System.Guid" />.</param>
  174. <param name="count">
  175. <attribution license="cc4" from="Microsoft" modified="false" />Number of array entries to use, starting from <paramref name="offset" />.</param>
  176. </Docs>
  177. </Member>
  178. <Member MemberName="CharArrayLength">
  179. <MemberSignature Language="C#" Value="public int CharArrayLength { get; }" />
  180. <MemberSignature Language="ILAsm" Value=".property instance int32 CharArrayLength" />
  181. <MemberType>Property</MemberType>
  182. <AssemblyInfo>
  183. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  184. </AssemblyInfo>
  185. <Attributes>
  186. <Attribute>
  187. <AttributeName>get: System.Security.SecurityCritical</AttributeName>
  188. </Attribute>
  189. <Attribute>
  190. <AttributeName>get: System.Security.SecurityTreatAsSafe</AttributeName>
  191. </Attribute>
  192. </Attributes>
  193. <ReturnValue>
  194. <ReturnType>System.Int32</ReturnType>
  195. </ReturnValue>
  196. <Docs>
  197. <value>To be added.</value>
  198. <remarks>To be added.</remarks>
  199. <summary>
  200. <attribution license="cc4" from="Microsoft" modified="false" />
  201. <para>Gets the length of the string representation of the <see cref="T:System.Xml.UniqueId" />.</para>
  202. </summary>
  203. </Docs>
  204. </Member>
  205. <Member MemberName="Equals">
  206. <MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
  207. <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
  208. <MemberType>Method</MemberType>
  209. <AssemblyInfo>
  210. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  211. </AssemblyInfo>
  212. <ReturnValue>
  213. <ReturnType>System.Boolean</ReturnType>
  214. </ReturnValue>
  215. <Parameters>
  216. <Parameter Name="obj" Type="System.Object" />
  217. </Parameters>
  218. <Docs>
  219. <remarks>To be added.</remarks>
  220. <summary>
  221. <attribution license="cc4" from="Microsoft" modified="false" />
  222. <para>Tests whether an object equals this <see cref="T:System.Xml.UniqueId" />.</para>
  223. </summary>
  224. <returns>
  225. <attribution license="cc4" from="Microsoft" modified="false" />
  226. <para>true if the object equals this <see cref="T:System.Xml.UniqueId" />; otherwise false.</para>
  227. </returns>
  228. <param name="obj">
  229. <attribution license="cc4" from="Microsoft" modified="false" />The object to compare.</param>
  230. </Docs>
  231. </Member>
  232. <Member MemberName="GetHashCode">
  233. <MemberSignature Language="C#" Value="public override int GetHashCode ();" />
  234. <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
  235. <MemberType>Method</MemberType>
  236. <AssemblyInfo>
  237. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  238. </AssemblyInfo>
  239. <ReturnValue>
  240. <ReturnType>System.Int32</ReturnType>
  241. </ReturnValue>
  242. <Parameters />
  243. <Docs>
  244. <remarks>To be added.</remarks>
  245. <summary>
  246. <attribution license="cc4" from="Microsoft" modified="false" />
  247. <para>Creates a hash-code representation of this <see cref="T:System.Xml.UniqueId" />.</para>
  248. </summary>
  249. <returns>
  250. <attribution license="cc4" from="Microsoft" modified="false" />
  251. <para>An integer hash-code representation of this <see cref="T:System.Xml.UniqueId" />.</para>
  252. </returns>
  253. </Docs>
  254. </Member>
  255. <Member MemberName="IsGuid">
  256. <MemberSignature Language="C#" Value="public bool IsGuid { get; }" />
  257. <MemberSignature Language="ILAsm" Value=".property instance bool IsGuid" />
  258. <MemberType>Property</MemberType>
  259. <AssemblyInfo>
  260. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  261. </AssemblyInfo>
  262. <ReturnValue>
  263. <ReturnType>System.Boolean</ReturnType>
  264. </ReturnValue>
  265. <Docs>
  266. <value>To be added.</value>
  267. <remarks>To be added.</remarks>
  268. <summary>
  269. <attribution license="cc4" from="Microsoft" modified="false" />
  270. <para>Indicates whether the <see cref="T:System.Xml.UniqueId" /> is a <see cref="T:System.Guid" />.</para>
  271. </summary>
  272. </Docs>
  273. </Member>
  274. <Member MemberName="op_Equality">
  275. <MemberSignature Language="C#" Value="public static bool op_Equality (System.Xml.UniqueId id1, System.Xml.UniqueId id2);" />
  276. <MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(class System.Xml.UniqueId id1, class System.Xml.UniqueId id2) cil managed" />
  277. <MemberType>Method</MemberType>
  278. <AssemblyInfo>
  279. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  280. </AssemblyInfo>
  281. <ReturnValue>
  282. <ReturnType>System.Boolean</ReturnType>
  283. </ReturnValue>
  284. <Parameters>
  285. <Parameter Name="id1" Type="System.Xml.UniqueId" />
  286. <Parameter Name="id2" Type="System.Xml.UniqueId" />
  287. </Parameters>
  288. <Docs>
  289. <remarks>To be added.</remarks>
  290. <summary>
  291. <attribution license="cc4" from="Microsoft" modified="false" />
  292. <para>Overrides the equality operator to test for equality of two <see cref="T:System.Xml.UniqueId" />s.</para>
  293. </summary>
  294. <returns>
  295. <attribution license="cc4" from="Microsoft" modified="false" />
  296. <para>true if the two <see cref="T:System.Xml.UniqueId" />s are equal, or are both null; false if they are not equal, or if only one of them is null.</para>
  297. </returns>
  298. <param name="id1">
  299. <attribution license="cc4" from="Microsoft" modified="false" />The first <see cref="T:System.Xml.UniqueId" />.</param>
  300. <param name="id2">
  301. <attribution license="cc4" from="Microsoft" modified="false" />The second <see cref="T:System.Xml.UniqueId" />.</param>
  302. </Docs>
  303. </Member>
  304. <Member MemberName="op_Inequality">
  305. <MemberSignature Language="C#" Value="public static bool op_Inequality (System.Xml.UniqueId id1, System.Xml.UniqueId id2);" />
  306. <MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(class System.Xml.UniqueId id1, class System.Xml.UniqueId id2) cil managed" />
  307. <MemberType>Method</MemberType>
  308. <AssemblyInfo>
  309. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  310. </AssemblyInfo>
  311. <ReturnValue>
  312. <ReturnType>System.Boolean</ReturnType>
  313. </ReturnValue>
  314. <Parameters>
  315. <Parameter Name="id1" Type="System.Xml.UniqueId" />
  316. <Parameter Name="id2" Type="System.Xml.UniqueId" />
  317. </Parameters>
  318. <Docs>
  319. <remarks>To be added.</remarks>
  320. <summary>
  321. <attribution license="cc4" from="Microsoft" modified="false" />
  322. <para>Overrides the equality operator to test for inequality of two <see cref="T:System.Xml.UniqueId" />s.</para>
  323. </summary>
  324. <returns>
  325. <attribution license="cc4" from="Microsoft" modified="false" />
  326. <para>true if the overridden equality operator returns false; otherwise false.</para>
  327. </returns>
  328. <param name="id1">
  329. <attribution license="cc4" from="Microsoft" modified="false" />The first <see cref="T:System.Xml.UniqueId" />.</param>
  330. <param name="id2">
  331. <attribution license="cc4" from="Microsoft" modified="false" />The second <see cref="T:System.Xml.UniqueId" />.</param>
  332. </Docs>
  333. </Member>
  334. <Member MemberName="ToCharArray">
  335. <MemberSignature Language="C#" Value="public int ToCharArray (char[] array, int offset);" />
  336. <MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 ToCharArray(char[] array, int32 offset) cil managed" />
  337. <MemberType>Method</MemberType>
  338. <AssemblyInfo>
  339. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  340. </AssemblyInfo>
  341. <Attributes>
  342. <Attribute>
  343. <AttributeName>System.Security.SecurityCritical</AttributeName>
  344. </Attribute>
  345. <Attribute>
  346. <AttributeName>System.Security.SecurityTreatAsSafe</AttributeName>
  347. </Attribute>
  348. </Attributes>
  349. <ReturnValue>
  350. <ReturnType>System.Int32</ReturnType>
  351. </ReturnValue>
  352. <Parameters>
  353. <Parameter Name="array" Type="System.Char[]" />
  354. <Parameter Name="offset" Type="System.Int32" />
  355. </Parameters>
  356. <Docs>
  357. <param name="array">To be added.</param>
  358. <remarks>
  359. <attribution license="cc4" from="Microsoft" modified="false" />
  360. <para>This method is unsafe.</para>
  361. </remarks>
  362. <summary>
  363. <attribution license="cc4" from="Microsoft" modified="false" />
  364. <para>Puts the <see cref="T:System.Xml.UniqueId" /> value into a char array.</para>
  365. </summary>
  366. <returns>
  367. <attribution license="cc4" from="Microsoft" modified="false" />
  368. <para>Number of entries in the char array filled by the <see cref="T:System.Xml.UniqueId" /> value.</para>
  369. </returns>
  370. <param name="offset">
  371. <attribution license="cc4" from="Microsoft" modified="false" />Position in the char array to start inserting the <see cref="T:System.Xml.UniqueId" /> value.</param>
  372. </Docs>
  373. </Member>
  374. <Member MemberName="ToString">
  375. <MemberSignature Language="C#" Value="public override string ToString ();" />
  376. <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
  377. <MemberType>Method</MemberType>
  378. <AssemblyInfo>
  379. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  380. </AssemblyInfo>
  381. <Attributes>
  382. <Attribute>
  383. <AttributeName>System.Security.SecurityCritical</AttributeName>
  384. </Attribute>
  385. <Attribute>
  386. <AttributeName>System.Security.SecurityTreatAsSafe</AttributeName>
  387. </Attribute>
  388. </Attributes>
  389. <ReturnValue>
  390. <ReturnType>System.String</ReturnType>
  391. </ReturnValue>
  392. <Parameters />
  393. <Docs>
  394. <remarks>To be added.</remarks>
  395. <summary>
  396. <attribution license="cc4" from="Microsoft" modified="false" />
  397. <para>Displays the <see cref="T:System.Xml.UniqueId" /> value in string format.</para>
  398. </summary>
  399. <returns>
  400. <attribution license="cc4" from="Microsoft" modified="false" />
  401. <para>A string representation of the <see cref="T:System.Xml.UniqueId" /> value.</para>
  402. </returns>
  403. </Docs>
  404. </Member>
  405. <Member MemberName="TryGetGuid">
  406. <MemberSignature Language="C#" Value="public bool TryGetGuid (out Guid guid);" />
  407. <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool TryGetGuid(valuetype System.Guid guid) cil managed" />
  408. <MemberType>Method</MemberType>
  409. <AssemblyInfo>
  410. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  411. </AssemblyInfo>
  412. <ReturnValue>
  413. <ReturnType>System.Boolean</ReturnType>
  414. </ReturnValue>
  415. <Parameters>
  416. <Parameter Name="guid" Type="System.Guid&amp;" RefType="out" />
  417. </Parameters>
  418. <Docs>
  419. <param name="guid">To be added.</param>
  420. <summary>To be added.</summary>
  421. <returns>To be added.</returns>
  422. <remarks>To be added.</remarks>
  423. </Docs>
  424. </Member>
  425. <Member MemberName="TryGetGuid">
  426. <MemberSignature Language="C#" Value="public bool TryGetGuid (byte[] buffer, int offset);" />
  427. <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool TryGetGuid(unsigned int8[] buffer, int32 offset) cil managed" />
  428. <MemberType>Method</MemberType>
  429. <AssemblyInfo>
  430. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  431. </AssemblyInfo>
  432. <Attributes>
  433. <Attribute>
  434. <AttributeName>System.Security.SecurityCritical</AttributeName>
  435. </Attribute>
  436. <Attribute>
  437. <AttributeName>System.Security.SecurityTreatAsSafe</AttributeName>
  438. </Attribute>
  439. </Attributes>
  440. <ReturnValue>
  441. <ReturnType>System.Boolean</ReturnType>
  442. </ReturnValue>
  443. <Parameters>
  444. <Parameter Name="buffer" Type="System.Byte[]" />
  445. <Parameter Name="offset" Type="System.Int32" />
  446. </Parameters>
  447. <Docs>
  448. <remarks>
  449. <attribution license="cc4" from="Microsoft" modified="false" />
  450. <para>This method is unsafe.</para>
  451. </remarks>
  452. <summary>
  453. <attribution license="cc4" from="Microsoft" modified="false" />
  454. <para>Tries to get the value of the <see cref="T:System.Xml.UniqueId" /> as a <see cref="T:System.Guid" /> and store it in the given byte array at the specified offest.</para>
  455. </summary>
  456. <returns>
  457. <attribution license="cc4" from="Microsoft" modified="false" />
  458. <para>true if the value stored in this instance of <see cref="T:System.Xml.UniqueId" /> is a <see cref="T:System.Guid" />; otherwise false.</para>
  459. </returns>
  460. <param name="buffer">
  461. <attribution license="cc4" from="Microsoft" modified="false" />byte array that will contain the <see cref="T:System.Guid" />.</param>
  462. <param name="offset">
  463. <attribution license="cc4" from="Microsoft" modified="false" />Position in the byte array to start inserting the <see cref="T:System.Guid" /> value.</param>
  464. </Docs>
  465. </Member>
  466. </Members>
  467. </Type>