Editar

Partilhar via


SyndicationFeed.BaseUri Property

Definition

Gets or sets the base URI for the SyndicationFeed instance.

public:
 property Uri ^ BaseUri { Uri ^ get(); void set(Uri ^ value); };
public Uri BaseUri { get; set; }
member this.BaseUri : Uri with get, set
Public Property BaseUri As Uri

Property Value

Uri

The base URI for the SyndicationFeed instance.

Examples

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;
Dim feed As New SyndicationFeed("Feed Title", "Feed Description", New Uri("http:'Feed/Alternate/Link"), "FeedID", DateTime.Now)
Dim baseUri As Uri = feed.BaseUri

Applies to