共用方式為


SPEventReceiverDefinition.ContextItemUrl property

取得或設定內容項目的 URL。

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

Syntax

'宣告
Public Property ContextItemUrl As String
    Get
    Set
'用途
Dim instance As SPEventReceiverDefinition
Dim value As String

value = instance.ContextItemUrl

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

Property value

Type: System.String
String ,表示的 URL。

備註

取得或設定目前 HTTP 內容的SharePoint Foundation中的清單項目的伺服器相對的 URL。

請參閱

參照

SPEventReceiverDefinition class

SPEventReceiverDefinition members

Microsoft.SharePoint namespace

AfterUrl

UrlField

其他資源

如何: 將動作新增至使用者介面