SyndicationItem::Copyright Property

 

Gets and sets the copyright information for the syndication item.

Namespace:   System.ServiceModel.Syndication
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property TextSyndicationContent^ Copyright {
	TextSyndicationContent^ get();
	void set(TextSyndicationContent^ value);
}

Property Value

Type: System.ServiceModel.Syndication::TextSyndicationContent^

A TextSyndicationContent instance that represents copyright information.

When serialized to Atom 1.0, this property is written to a <rights> element. When serialized to RSS 2.0, this property is written to a <a10:rights> element.

The following code shows how to add copyright information to a SyndicationItem.

No code example is currently available or this language may not be supported.

The following XML shows how this property is serialized to Atom 1.0.

<rights type="text">Copyright 2007</rights>

The following XML shows how this property is serialized to RSS 2.0.

<a10:rights type="text">Copyright 2007</a10:rights>

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: