Compartilhar 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 Default Property Item ( _
    key As Type _
) As Object
    Get
    Set
'Usage
Dim instance As SPUpgradeContext
Dim key As Type
Dim value As Object

value = instance(key)

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