SyndicationItem.BaseUri Property

 

Gets and sets the base Uniform Resource Identifier (URI) for the SyndicationItem instance.

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

public Uri BaseUri { get; set; }

Property Value

Type: System.Uri

The base URI of the SyndicationItem.

The following example shows how to set the base URI of a syndication item.

SyndicationItem item = new SyndicationItem();
item.BaseUri = new Uri("http://SomeServer/MyItem");

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