Share via


SPUpgradeContext.Item property (Type)

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

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

Syntax

'Declaration
Public Property Item ( _
    key As Type _
) As Object
    Get
    Set
'Usage
Dim instance As SPUpgradeContext
Dim key As Type
Dim value As Object

value = instance.Item(key)

instance.Item(key) = value
public Object this[
    Type key
] { get; set; }

Parameters

Property value

Type: System.Object
A string that contains the value associated with the given Type.

See also

Reference

SPUpgradeContext class

SPUpgradeContext members

Item overload

Microsoft.SharePoint.Upgrade namespace