Share 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 Property Item ( _
    key As String _
) As String
    Get
    Set
'Usage
Dim instance As SPUpgradeContext
Dim key As String
Dim value As String

value = instance.Item(key)

instance.Item(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