UrlSyndicationContent Class

 

Represents syndication content that consists of a URL to another resource.

Namespace:   System.ServiceModel.Syndication
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.ServiceModel.Syndication.SyndicationContent
    System.ServiceModel.Syndication.UrlSyndicationContent

public class UrlSyndicationContent : SyndicationContent

NameDescription
System_CAPS_pubmethodUrlSyndicationContent(Uri, String)

Initializes a new instance of the UrlSyndicationContent class with the specified Uri and media type.

System_CAPS_protmethodUrlSyndicationContent(UrlSyndicationContent)

Initializes a new instance of the UrlSyndicationContent class with the specified UrlSyndicationContent instance.

NameDescription
System_CAPS_pubpropertyAttributeExtensions

Gets the attribute extensions for this content.(Inherited from SyndicationContent.)

System_CAPS_pubpropertyType

Gets the content type of the UrlSyndicationContent.(Overrides SyndicationContent.Type.)

System_CAPS_pubpropertyUrl

Gets the Uri for the UrlSyndicationContent.

NameDescription
System_CAPS_pubmethodClone()

Creates a copy of the existing UrlSyndicationContent instance.(Overrides SyndicationContent.Clone().)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodWriteContentsTo(XmlWriter)

Writes the contents of the UrlSyndicationContent instance to the specified XmlWriter.(Overrides SyndicationContent.WriteContentsTo(XmlWriter).)

System_CAPS_pubmethodWriteTo(XmlWriter, String, String)

Writes the contents of this object to the specified XmlWriter within the specified element and element namespace.(Inherited from SyndicationContent.)

The following example demonstrates how to use the UrlSyndicationContent class.

UrlSyndicationContent urlContent = new UrlSyndicationContent(new Uri("http://localhost/content"), "text/html");

.NET Framework
Available since 3.5
Silverlight
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: