Compartilhar via


SPUpgradeContext.Item Property (String)

Gets or sets the value of a property from a dictionary whose key is the String.

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

Syntax

'Declaration
Public Default Property Item ( _
    key As String _
) As String
    Get
    Set
'Usage
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; }

Parameters

Property Value

Type: System.String
A string that contains the value associated with the key.

See Also

Reference

SPUpgradeContext Class

SPUpgradeContext Members

Item Overload

Microsoft.SharePoint.Upgrade Namespace