SPModule.SPModulePropertyBag.Item Property
Gets or sets the value of a property for the module. In C#, this property is the indexer for the SPModule.SPModulePropertyBag class.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property Item ( _
strKey As String _
) As String
Get
Set
'Usage
Dim instance As SPModule.SPModulePropertyBag
Dim strKey As String
Dim value As String
value = instance.Item(strKey)
instance.Item(strKey) = value
public string this[
string strKey
] { get; set; }
Parameters
strKey
Type: System.StringA string that contains the key that references a value.
Property Value
Type: System.String
A string that contains the value.
See Also
Reference
SPModule.SPModulePropertyBag Class