共用方式為


SPMobileHtmlFormAdapter.AddHeadElementMarkup Method

Writes a HEAD element directly onto an HTML page.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub AddHeadElementMarkup ( _
    headElement As String _
)
'Usage
Dim instance As SPMobileHtmlFormAdapter
Dim headElement As String

instance.AddHeadElementMarkup(headElement)
public void AddHeadElementMarkup(
    string headElement
)

Parameters

  • headElement
    Type: System.String

    The markup for the HEAD element.

Implements

ISPMobileHead.AddHeadElementMarkup(String)

Remarks

The markup is not HTML encoded.

If the headElement parameter contains an empty string or is a null reference (Nothing in Visual Basic), this method has no effect.

See Also

Reference

SPMobileHtmlFormAdapter Class

SPMobileHtmlFormAdapter Members

Microsoft.SharePoint.MobileControls Namespace