Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BaseUri Property

SyndicationFeed.BaseUri Property

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

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft