SPUpgradeContext.Item 属性 (Type)

获取或设置属性的值,从字典的键是Type

命名空间:  Microsoft.SharePoint.Upgrade
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Default Property Item ( _
    key As Type _
) As Object
    Get
    Set
用法
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; }

参数

属性值

类型:System.Object
一个字符串,包含与给定Type关联的值。

另请参阅

引用

SPUpgradeContext 类

SPUpgradeContext 成员

Item 重载

Microsoft.SharePoint.Upgrade 命名空间