共用方式為


SPListEvent.WebUrl Property

NOTE: This API is now obsolete.

Gets the absolute URL of the site in which the event occurred.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use V3 style events")> _
Public ReadOnly Property WebUrl As String
    Get
'Usage
Dim instance As SPListEvent
Dim value As String

value = instance.WebUrl
[ObsoleteAttribute("Use V3 style events")]
public string WebUrl { get; }

Property Value

Type: System.String
A string that contains the URL.

See Also

Reference

SPListEvent Class

SPListEvent Members

Microsoft.SharePoint Namespace