This documentation is archived and is not being maintained.
SyndicationCategory Class
Visual Studio 2010
A class that represents the category of a syndication feed.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The SyndicationCategory type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | SyndicationCategory() | Initializes a new instance of the SyndicationCategory class. |
![]() | SyndicationCategory(String) | Initializes a new instance of the SyndicationCategory class with the given name. |
![]() | SyndicationCategory(SyndicationCategory) | Initializes a new instance of the SyndicationCategory class with the specified SyndicationCategory instance. |
![]() | SyndicationCategory(String, String, String) | Initializes a new instance of the SyndicationCategory class with the specified name, scheme, and label. |
| Name | Description | |
|---|---|---|
![]() | AttributeExtensions | Gets the attribute extensions for this category. |
![]() | ElementExtensions | Gets the element extensions for this category. |
![]() | Label | Gets and sets the label of the category. |
![]() | Name | Gets and sets the name of the category. |
![]() | Scheme | Gets and sets the scheme of the category. |
| Name | Description | |
|---|---|---|
![]() | Clone | Creates a copy of a SyndicationCategory instance. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryParseAttribute | Attempts to parse an attribute extension. |
![]() | TryParseElement | Attempts to parse an element extension. |
![]() | WriteAttributeExtensions | Writes the attribute extensions to the specified writer. |
![]() | WriteElementExtensions | Writes the element extensions to the specified writer. |
The following code shows how to create a SyndicationFeed and add a SyndicationItem with a SyndicationCategory.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
