Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets a DateTime property value that is associated with a specified key, and if the specified key does not exist, adds a new element with the key.
Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub SetValue ( _
    key As String, _
    value As DateTime _
)
'Usage
Dim instance As SPSiteSubscriptionPropertyCollection
Dim key As String
Dim value As DateTime
instance.SetValue(key, value)
public void SetValue(
    string key,
    DateTime value
)
Parameters
key
Type: System.StringA string that contains the property key that corresponds to a value.
value
Type: System.DateTimeThe value to set.
See Also
Reference
SPSiteSubscriptionPropertyCollection Class
SPSiteSubscriptionPropertyCollection Members