获取或设置模块属性的值。在 C# 中,此属性是SPModule.SPModulePropertyBag类的索引器。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Default Property Item ( _
strKey As String _
) As String
Get
Set
用法
Dim instance As SPModule.SPModulePropertyBag
Dim strKey As String
Dim value As String
value = instance(strKey)
instance(strKey) = value
public string this[
string strKey
] { get; set; }
参数
strKey
类型:System.String一个字符串,包含引用的值的键。
属性值
类型:System.String
一个字符串,包含的值。
另请参阅
引用
SPModule.SPModulePropertyBag 类