Partilhar via


SPEventReceiverDefinition.ContextItemUrl Property

Gets or sets the URL for the context item.

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

Syntax

'Declaration
Public Property ContextItemUrl As String
    Get
    Set
'Usage
Dim instance As SPEventReceiverDefinition
Dim value As String

value = instance.ContextItemUrl

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

Property Value

Type: System.String
The String that represents the URL.

Remarks

Gets or sets the server-relative URL for the list item in the current HTTP context of SharePoint Foundation.

See Also

Reference

SPEventReceiverDefinition Class

SPEventReceiverDefinition Members

Microsoft.SharePoint Namespace

AfterUrl

UrlField

Other Resources

How to: Add Actions to the User Interface