SyndicationFeed.BaseUri SyndicationFeed.BaseUri SyndicationFeed.BaseUri SyndicationFeed.BaseUri Property

Definition

Ermittelt und definiert die Basis-URI für die SyndicationFeed-Instanz. Gets and 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

Eigenschaftswert

Die Basis-URI der SyndicationFeed-Instanz. The base URI for the SyndicationFeed instance.

Beispiele

Im folgenden Code wird gezeigt, wie auf den Basis-URI einer SyndicationFeed-Instanz zugegriffen wird.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

Gilt für: