SyndicationCategory.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="SyndicationCategory" FullName="System.ServiceModel.Syndication.SyndicationCategory">
  3. <TypeSignature Language="C#" Value="public class SyndicationCategory : System.ServiceModel.Syndication.ISyndicationElement" />
  4. <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SyndicationCategory extends System.Object implements class System.ServiceModel.Syndication.ISyndicationElement" />
  5. <AssemblyInfo>
  6. <AssemblyName>System.ServiceModel</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.ServiceModel.Syndication.ISyndicationElement</InterfaceName>
  15. </Interface>
  16. </Interfaces>
  17. <Docs>
  18. <remarks>
  19. <attribution license="cc4" from="Microsoft" modified="false" />
  20. <para>A category allows you to assign one or more keywords that can be used to search for information.</para>
  21. </remarks>
  22. <summary>
  23. <attribution license="cc4" from="Microsoft" modified="false" />
  24. <para>A class that represents the category of a syndication feed. </para>
  25. </summary>
  26. </Docs>
  27. <Members>
  28. <Member MemberName=".ctor">
  29. <MemberSignature Language="C#" Value="public SyndicationCategory ();" />
  30. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
  31. <MemberType>Constructor</MemberType>
  32. <AssemblyInfo>
  33. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  34. </AssemblyInfo>
  35. <Parameters />
  36. <Docs>
  37. <remarks>To be added.</remarks>
  38. <summary>
  39. <attribution license="cc4" from="Microsoft" modified="false" />
  40. <para>Initializes a new instance of the <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> class. </para>
  41. </summary>
  42. </Docs>
  43. </Member>
  44. <Member MemberName=".ctor">
  45. <MemberSignature Language="C#" Value="protected SyndicationCategory (System.ServiceModel.Syndication.SyndicationCategory source);" />
  46. <MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class System.ServiceModel.Syndication.SyndicationCategory source) cil managed" />
  47. <MemberType>Constructor</MemberType>
  48. <AssemblyInfo>
  49. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  50. </AssemblyInfo>
  51. <Parameters>
  52. <Parameter Name="source" Type="System.ServiceModel.Syndication.SyndicationCategory" />
  53. </Parameters>
  54. <Docs>
  55. <remarks>To be added.</remarks>
  56. <summary>
  57. <attribution license="cc4" from="Microsoft" modified="false" />
  58. <para>Initializes a new instance of the <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> class with the specified <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> instance.</para>
  59. </summary>
  60. <param name="source">
  61. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> instance to initialize the new <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> instance.</param>
  62. </Docs>
  63. </Member>
  64. <Member MemberName=".ctor">
  65. <MemberSignature Language="C#" Value="public SyndicationCategory (string name);" />
  66. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string name) cil managed" />
  67. <MemberType>Constructor</MemberType>
  68. <AssemblyInfo>
  69. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  70. </AssemblyInfo>
  71. <Parameters>
  72. <Parameter Name="name" Type="System.String" />
  73. </Parameters>
  74. <Docs>
  75. <remarks>To be added.</remarks>
  76. <summary>
  77. <attribution license="cc4" from="Microsoft" modified="false" />
  78. <para>Initializes a new instance of the <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> class with the given name.</para>
  79. </summary>
  80. <param name="name">
  81. <attribution license="cc4" from="Microsoft" modified="false" />The name of the category.</param>
  82. </Docs>
  83. </Member>
  84. <Member MemberName=".ctor">
  85. <MemberSignature Language="C#" Value="public SyndicationCategory (string name, string scheme, string label);" />
  86. <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string name, string scheme, string label) cil managed" />
  87. <MemberType>Constructor</MemberType>
  88. <AssemblyInfo>
  89. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  90. </AssemblyInfo>
  91. <Parameters>
  92. <Parameter Name="name" Type="System.String" />
  93. <Parameter Name="scheme" Type="System.String" />
  94. <Parameter Name="label" Type="System.String" />
  95. </Parameters>
  96. <Docs>
  97. <remarks>To be added.</remarks>
  98. <summary>
  99. <attribution license="cc4" from="Microsoft" modified="false" />
  100. <para>Initializes a new instance of the <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> class with the specified name, scheme, and label.</para>
  101. </summary>
  102. <param name="name">
  103. <attribution license="cc4" from="Microsoft" modified="false" />The name of the category.</param>
  104. <param name="scheme">
  105. <attribution license="cc4" from="Microsoft" modified="false" />A Uniform Resource Identifier (URI) that represents the categorization scheme to which this category belongs.</param>
  106. <param name="label">
  107. <attribution license="cc4" from="Microsoft" modified="false" />A human-readable attribute that describes the category.</param>
  108. </Docs>
  109. </Member>
  110. <Member MemberName="AttributeExtensions">
  111. <MemberSignature Language="C#" Value="public System.Collections.Generic.Dictionary&lt;System.Xml.XmlQualifiedName,string&gt; AttributeExtensions { get; }" />
  112. <MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.Dictionary`2&lt;class System.Xml.XmlQualifiedName, string&gt; AttributeExtensions" />
  113. <MemberType>Property</MemberType>
  114. <AssemblyInfo>
  115. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  116. </AssemblyInfo>
  117. <ReturnValue>
  118. <ReturnType>System.Collections.Generic.Dictionary&lt;System.Xml.XmlQualifiedName,System.String&gt;</ReturnType>
  119. </ReturnValue>
  120. <Docs>
  121. <value>To be added.</value>
  122. <remarks>
  123. <attribution license="cc4" from="Microsoft" modified="false" />
  124. <para>The syndication object model allows you to add custom attributes to a <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> instance. Attribute extensions are custom attributes that are not defined by the Atom 1.0 or RSS 2.0 specifications. They are serialized as an attribute of the &lt;category&gt; element.</para>
  125. </remarks>
  126. <summary>
  127. <attribution license="cc4" from="Microsoft" modified="false" />
  128. <para>Gets the attribute extensions for this category.</para>
  129. </summary>
  130. </Docs>
  131. </Member>
  132. <Member MemberName="Clone">
  133. <MemberSignature Language="C#" Value="public virtual System.ServiceModel.Syndication.SyndicationCategory Clone ();" />
  134. <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.ServiceModel.Syndication.SyndicationCategory Clone() cil managed" />
  135. <MemberType>Method</MemberType>
  136. <AssemblyInfo>
  137. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  138. </AssemblyInfo>
  139. <ReturnValue>
  140. <ReturnType>System.ServiceModel.Syndication.SyndicationCategory</ReturnType>
  141. </ReturnValue>
  142. <Parameters />
  143. <Docs>
  144. <remarks>To be added.</remarks>
  145. <summary>
  146. <attribution license="cc4" from="Microsoft" modified="false" />
  147. <para>Creates a copy of a <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> instance.</para>
  148. </summary>
  149. <returns>
  150. <attribution license="cc4" from="Microsoft" modified="false" />
  151. <para>A new <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> instance.</para>
  152. </returns>
  153. </Docs>
  154. </Member>
  155. <Member MemberName="ElementExtensions">
  156. <MemberSignature Language="C#" Value="public System.ServiceModel.Syndication.SyndicationElementExtensionCollection ElementExtensions { get; }" />
  157. <MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Syndication.SyndicationElementExtensionCollection ElementExtensions" />
  158. <MemberType>Property</MemberType>
  159. <AssemblyInfo>
  160. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  161. </AssemblyInfo>
  162. <ReturnValue>
  163. <ReturnType>System.ServiceModel.Syndication.SyndicationElementExtensionCollection</ReturnType>
  164. </ReturnValue>
  165. <Docs>
  166. <value>To be added.</value>
  167. <remarks>
  168. <attribution license="cc4" from="Microsoft" modified="false" />
  169. <para>Element extensions are valid XML elements that are not specified in either the Atom 1.0 or RSS 2.0 specification. You can add any valid XML element as an extension, provided its namespace is different from the enclosing namespace.</para>
  170. </remarks>
  171. <summary>
  172. <attribution license="cc4" from="Microsoft" modified="false" />
  173. <para>Gets the element extensions for this category.</para>
  174. </summary>
  175. </Docs>
  176. </Member>
  177. <Member MemberName="Label">
  178. <MemberSignature Language="C#" Value="public string Label { get; set; }" />
  179. <MemberSignature Language="ILAsm" Value=".property instance string Label" />
  180. <MemberType>Property</MemberType>
  181. <AssemblyInfo>
  182. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  183. </AssemblyInfo>
  184. <ReturnValue>
  185. <ReturnType>System.String</ReturnType>
  186. </ReturnValue>
  187. <Docs>
  188. <value>To be added.</value>
  189. <remarks>
  190. <attribution license="cc4" from="Microsoft" modified="false" />
  191. <para>When serialized to Atom 1.0, the <see cref="P:System.ServiceModel.Syndication.SyndicationCategory.Label" /> is written to the label attribute of the &lt;category&gt; element. <see cref="P:System.ServiceModel.Syndication.SyndicationCategory.Label" /> is not serialized to RSS 2.0.</para>
  192. </remarks>
  193. <summary>
  194. <attribution license="cc4" from="Microsoft" modified="false" />
  195. <para>Gets and sets the label of the category.</para>
  196. </summary>
  197. </Docs>
  198. </Member>
  199. <Member MemberName="Name">
  200. <MemberSignature Language="C#" Value="public string Name { get; set; }" />
  201. <MemberSignature Language="ILAsm" Value=".property instance string Name" />
  202. <MemberType>Property</MemberType>
  203. <AssemblyInfo>
  204. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  205. </AssemblyInfo>
  206. <ReturnValue>
  207. <ReturnType>System.String</ReturnType>
  208. </ReturnValue>
  209. <Docs>
  210. <value>To be added.</value>
  211. <remarks>
  212. <attribution license="cc4" from="Microsoft" modified="false" />
  213. <para>When serialized to Atom 1.0, the <see cref="P:System.ServiceModel.Syndication.SyndicationCategory.Name" /> is written to the term attribute of the &lt;category&gt; element. <see cref="P:System.ServiceModel.Syndication.SyndicationCategory.Label" /> is not serialized to RSS 2.0.</para>
  214. </remarks>
  215. <summary>
  216. <attribution license="cc4" from="Microsoft" modified="false" />
  217. <para>Gets and sets the name of the category.</para>
  218. </summary>
  219. </Docs>
  220. </Member>
  221. <Member MemberName="Scheme">
  222. <MemberSignature Language="C#" Value="public string Scheme { get; set; }" />
  223. <MemberSignature Language="ILAsm" Value=".property instance string Scheme" />
  224. <MemberType>Property</MemberType>
  225. <AssemblyInfo>
  226. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  227. </AssemblyInfo>
  228. <ReturnValue>
  229. <ReturnType>System.String</ReturnType>
  230. </ReturnValue>
  231. <Docs>
  232. <value>To be added.</value>
  233. <remarks>
  234. <attribution license="cc4" from="Microsoft" modified="false" />
  235. <para>When serialized to Atom 1.0, the <see cref="P:System.ServiceModel.Syndication.SyndicationCategory.Scheme" /> property is written to the scheme attribute of the &lt;category&gt; element. </para>
  236. <para>When serialized to RSS 2.0, the <see cref="P:System.ServiceModel.Syndication.SyndicationCategory.Scheme" /> property is written to the domain attribute of the &lt;category&gt; element.</para>
  237. </remarks>
  238. <summary>
  239. <attribution license="cc4" from="Microsoft" modified="false" />
  240. <para>Gets and sets the scheme of the category.</para>
  241. </summary>
  242. </Docs>
  243. </Member>
  244. <Member MemberName="TryParseAttribute">
  245. <MemberSignature Language="C#" Value="protected virtual bool TryParseAttribute (string name, string ns, string value, string version);" />
  246. <MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig newslot virtual instance bool TryParseAttribute(string name, string ns, string value, string version) cil managed" />
  247. <MemberType>Method</MemberType>
  248. <AssemblyInfo>
  249. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  250. </AssemblyInfo>
  251. <ReturnValue>
  252. <ReturnType>System.Boolean</ReturnType>
  253. </ReturnValue>
  254. <Parameters>
  255. <Parameter Name="name" Type="System.String" />
  256. <Parameter Name="ns" Type="System.String" />
  257. <Parameter Name="value" Type="System.String" />
  258. <Parameter Name="version" Type="System.String" />
  259. </Parameters>
  260. <Docs>
  261. <remarks>
  262. <attribution license="cc4" from="Microsoft" modified="false" />
  263. <para>Attribute extensions are custom attributes that are not defined by the Atom 1.0 or RSS 2.0 specifications. They are serialized as an attribute of the &lt;category&gt; element. This method is an extension point that allows you to handle the deserialization of a custom attribute extension. To do this, derive a class from <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> and override this method. This method is called for all unrecognized attribute extensions.</para>
  264. </remarks>
  265. <summary>
  266. <attribution license="cc4" from="Microsoft" modified="false" />
  267. <para>Attempts to parse an attribute extension.</para>
  268. </summary>
  269. <returns>
  270. <attribution license="cc4" from="Microsoft" modified="false" />
  271. <para>A value that specifies whether the attribute extension was parsed successfully.</para>
  272. </returns>
  273. <param name="name">
  274. <attribution license="cc4" from="Microsoft" modified="false" />The name of the element.</param>
  275. <param name="ns">
  276. <attribution license="cc4" from="Microsoft" modified="false" />The namespace of the element.</param>
  277. <param name="value">
  278. <attribution license="cc4" from="Microsoft" modified="false" />The attribute to parse.</param>
  279. <param name="version">
  280. <attribution license="cc4" from="Microsoft" modified="false" />The syndication version to use when parsing.</param>
  281. </Docs>
  282. </Member>
  283. <Member MemberName="TryParseElement">
  284. <MemberSignature Language="C#" Value="protected virtual bool TryParseElement (System.Xml.XmlReader reader, string version);" />
  285. <MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig newslot virtual instance bool TryParseElement(class System.Xml.XmlReader reader, string version) cil managed" />
  286. <MemberType>Method</MemberType>
  287. <AssemblyInfo>
  288. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  289. </AssemblyInfo>
  290. <ReturnValue>
  291. <ReturnType>System.Boolean</ReturnType>
  292. </ReturnValue>
  293. <Parameters>
  294. <Parameter Name="reader" Type="System.Xml.XmlReader" />
  295. <Parameter Name="version" Type="System.String" />
  296. </Parameters>
  297. <Docs>
  298. <remarks>
  299. <attribution license="cc4" from="Microsoft" modified="false" />
  300. <para>Element extensions are valid XML elements that are not specified in either the Atom 1.0 or RSS 2.0 specifications. You can add any valid XML element as an extension, provided its namespace is different from the enclosing namespace. This method is an extension point that allows you to handle the deserialization of a custom element extension. To do this, derive a class from <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> and override this method. This method is called for all unrecognized attribute extensions.</para>
  301. </remarks>
  302. <summary>
  303. <attribution license="cc4" from="Microsoft" modified="false" />
  304. <para>Attempts to parse an element extension.</para>
  305. </summary>
  306. <returns>
  307. <attribution license="cc4" from="Microsoft" modified="false" />
  308. <para>A value that specifies whether the element extension has been parsed successfully.</para>
  309. </returns>
  310. <param name="reader">
  311. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlReader" /> to read from.</param>
  312. <param name="version">
  313. <attribution license="cc4" from="Microsoft" modified="false" />The syndication version to use while parsing.</param>
  314. </Docs>
  315. </Member>
  316. <Member MemberName="WriteAttributeExtensions">
  317. <MemberSignature Language="C#" Value="protected virtual void WriteAttributeExtensions (System.Xml.XmlWriter writer, string version);" />
  318. <MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig newslot virtual instance void WriteAttributeExtensions(class System.Xml.XmlWriter writer, string version) cil managed" />
  319. <MemberType>Method</MemberType>
  320. <AssemblyInfo>
  321. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  322. </AssemblyInfo>
  323. <ReturnValue>
  324. <ReturnType>System.Void</ReturnType>
  325. </ReturnValue>
  326. <Parameters>
  327. <Parameter Name="writer" Type="System.Xml.XmlWriter" />
  328. <Parameter Name="version" Type="System.String" />
  329. </Parameters>
  330. <Docs>
  331. <remarks>
  332. <attribution license="cc4" from="Microsoft" modified="false" />
  333. <para>Attribute extensions are custom attributes that are not defined by the Atom 1.0 or RSS 2.0 specifications. They are serialized as an attribute of the &lt;category&gt; element. This method is an extension point that allows you to handle the serialization of custom attribute extensions. To do this, derive a class from <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> and override this method. This method is called for all unrecognized attribute extensions.</para>
  334. </remarks>
  335. <summary>
  336. <attribution license="cc4" from="Microsoft" modified="false" />
  337. <para>Writes the attribute extensions to the specified writer.</para>
  338. </summary>
  339. <param name="writer">
  340. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlWriter" /> to write to.</param>
  341. <param name="version">
  342. <attribution license="cc4" from="Microsoft" modified="false" />The syndication version to use while writing.</param>
  343. </Docs>
  344. </Member>
  345. <Member MemberName="WriteElementExtensions">
  346. <MemberSignature Language="C#" Value="protected virtual void WriteElementExtensions (System.Xml.XmlWriter writer, string version);" />
  347. <MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig newslot virtual instance void WriteElementExtensions(class System.Xml.XmlWriter writer, string version) cil managed" />
  348. <MemberType>Method</MemberType>
  349. <AssemblyInfo>
  350. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  351. </AssemblyInfo>
  352. <ReturnValue>
  353. <ReturnType>System.Void</ReturnType>
  354. </ReturnValue>
  355. <Parameters>
  356. <Parameter Name="writer" Type="System.Xml.XmlWriter" />
  357. <Parameter Name="version" Type="System.String" />
  358. </Parameters>
  359. <Docs>
  360. <remarks>
  361. <attribution license="cc4" from="Microsoft" modified="false" />
  362. <para>Element extensions are valid XML elements that are not specified in either the Atom 1.0 or RSS 2.0 specification. You can add any valid XML element as an extension, provided its namespace is different from the enclosing namespace. This method is an extension point that allows you to handle the serialization of custom element extensions. To do this, derive a class from <see cref="T:System.ServiceModel.Syndication.SyndicationCategory" /> and override this method. This method is called for all unrecognized element extensions.</para>
  363. </remarks>
  364. <summary>
  365. <attribution license="cc4" from="Microsoft" modified="false" />
  366. <para>Writes the element extensions to the specified writer.</para>
  367. </summary>
  368. <param name="writer">
  369. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Xml.XmlWriter" /> to write to.</param>
  370. <param name="version">
  371. <attribution license="cc4" from="Microsoft" modified="false" />The syndication version to use while writing.</param>
  372. </Docs>
  373. </Member>
  374. </Members>
  375. </Type>