次の方法で共有


SPLongOperation.LeadingHTML property

Gets or sets the HTML markup that informs the user that a lengthy operation is in progress.

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

Syntax

'Declaration
Public Property LeadingHTML As String
    Get
    Set
'Usage
Dim instance As SPLongOperation
Dim value As String

value = instance.LeadingHTML

instance.LeadingHTML = value
public string LeadingHTML { get; set; }

Property value

Type: System.String
A string that contains HTML markup and text that explains what is happening, such as “Creating a new Web site…”.

Remarks

The markup for a progress page typically references an animated image (such as a rotating gear assembly). Near to this image are two HTML span elements.

The first span element receives the markup held in the LeadingHTML property. The string in the LeadingHTML property might include the text of a brief description of the operation in progress.

The second span element receives the markup held in the TrailingHTML property. The string in the TrailingHTML property might include text that begins “Please wait…”

See also

Reference

SPLongOperation class

SPLongOperation members

Microsoft.SharePoint namespace

TrailingHTML