Share via


HtmlTagValue.ToString method

Returns a string for an HTML tag with the current key-value attributes.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function ToString As String
'Usage
Dim instance As HtmlTagValue
Dim returnValue As String

returnValue = instance.ToString()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override string ToString()

Return value

Type: System.String
An HTML string.

See also

Reference

HtmlTagValue class

HtmlTagValue members

Microsoft.SharePoint.Publishing.Fields namespace