Dela via


SyndicationFeed.IconUri Property

Definition

Gets or sets the Uniform Resource Identifier (URI) for the image for the feed. This property represents the atom:icon element.

public:
 property Uri ^ IconUri { Uri ^ get(); void set(Uri ^ value); };
Uri IconUri();

void IconUri(Uri value);
public System.Uri IconUri { get; set; }
var uri = syndicationFeed.iconUri;
syndicationFeed.iconUri = uri;
Public Property IconUri As Uri

Property Value

The atom:icon element. It is the absolute Uniform Resource Identifier (URI) resolved against the xml:base attribute, if it is present. If the href attribute is a relative Uniform Resource Identifier (URI) string and there is no xml:base attribute, this property will be null because the relative Uniform Resource Identifier (URI) is not supported by the runtime Uniform Resource Identifier (URI) class.

Applies to