SyndicationFeed.BaseUri Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets and sets the base URI for the SyndicationFeed 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 for the SyndicationFeed instance.

The following code shows how to access the base URI of a SyndicationFeed instance.

SyndicationFeed feed = new SyndicationFeed("Feed Title", "Feed Description", new Uri("http://Feed/Alternate/Link"), "FeedID", DateTime.Now);
Uri baseUri = feed.BaseUri;

.NET Framework
Available since 3.5
Available since 2.0
Return to top