LinkFieldValue members

A field value class for a LinkField object that represents an <A> tag and specific key attributes for that tag.

The LinkFieldValue type exposes the following members.

Constructors

  Name Description
Public method LinkFieldValue() Constructs a new empty instance of a LinkFieldValue object.
Public method LinkFieldValue(String) Uses an <A> tag in the inputHtml to construct a new instance of a LinkFieldValue object from an HTML string.

Top

Properties

  Name Description
Public property IconUrl Gets or sets the URL for the optional icon image that is displayed with this LinkField object.
Public property NavigateUrl Gets or sets the URL of the hyperlink to this LinkFieldValue object.
Public property Target Gets or sets the target window of the hyperlink value.
Public property Text Gets or sets the text that is displayed for the hyperlink.
Public property ToolTip Gets or sets the text that is displayed on the hyperlink's tooltip.
Public property UseDefaultIcon Gets or sets a value that determines whether an IconUrl property is the default URL that is looked up, based on the NavigateUrl property.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public methodStatic member GetDefaultDisplayText Returns default display text to use for the inputUrl.
Public methodStatic member GetDefaultIconUrl Returns a URL to a default Microsoft Office SharePoint Server 2007 type icon to use for the file type in the inputUrl.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns an HTML string with an <A> tag and properties with values as currently set for this LinkFieldValue object. (Overrides HtmlTagValue.ToString().)

Top

See also

Reference

LinkFieldValue class

Microsoft.SharePoint.Publishing.Fields namespace