UrlContentSourceAttribute Class

Attribute applied to ContentSource and SmartContentSource methods that override the CreateContentFromUrl method to enable creation of new content from URLs.


public class UrlContentSourceAttribute : Attribute

Property Description

ProgressCaption

Optional caption used in a progress message.

ProgressMessage

Optional descriptive text used in a progress message.

RequiresProgress

Indicates that the content source requires a progress dialog during the execution of its CreateContentFromUrl method.

UrlPattern

Regular expression that indicates which format of URL this content source can handle.

Method Description

Constructor

Initialize a new instance of a UrlContentSourceAttribute.

The source of this URL can either be the value passed to the WindowsLiveWriterApplication.BlogThisLink method or a URL that is pasted or dragged into the editor.

Aa702833.note(en-us,WIN.10).gifNote:
If the implementation of this method accesses the network to retrieve additional information about the content to be inserted it is recommended that the UrlContentSourceAttribute.RequiresProgress property be set to True.

Inherits from:

System.Object

System.Attribute

WindowsLive.Writer.Api.UrlContentSourceAttribute

Assembly: windowslive.writer.api.dll

WindowsLive.Writer.Api

Show: