Rediger

Del via


SyndicationItem.BaseUri Property

Definition

Gets or sets the base Uniform Resource Identifier (URI) for the SyndicationItem 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 of the SyndicationItem.

Examples

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");
Dim item As New SyndicationItem()
item.BaseUri = New Uri("http:' SomeServer/MyItem")

Applies to