Share via


LinkFieldValue Constructor (String)

Uses an <A> tag in the inputHtml to construct a new instance of a LinkFieldValue object from an HTML string.

Namespace:  Microsoft.SharePoint.Publishing.Fields
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Sub New ( _
    inputHtml As String _
)
'Usage
Dim inputHtml As String

Dim instance As New LinkFieldValue(inputHtml)
public LinkFieldValue(
    string inputHtml
)

Parameters

  • inputHtml
    Type: System.String
    HTML string that contains an <A> tag with an href attribute and optionally other recognized attributes that is used to initialize a new LinkFieldValue object.

See Also

Reference

LinkFieldValue Class

LinkFieldValue Members

LinkFieldValue Overload

Microsoft.SharePoint.Publishing.Fields Namespace