共用方式為


SPUpgradeContext.Item property (String)

取得或設定屬性的值從其機碼是String字典。

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

Syntax

'宣告
Public Default Property Item ( _
    key As String _
) As String
    Get
    Set
'用途
Dim instance As SPUpgradeContext
Dim key As String
Dim value As String

value = instance(key)

instance(key) = value
public string this[
    string key
] { get; set; }

參數

Property value

Type: System.String
字串,包含索引鍵相關聯的值。

請參閱

參照

SPUpgradeContext class

SPUpgradeContext members

Item overload

Microsoft.SharePoint.Upgrade namespace