SPSiteSubscriptionPropertyCollection.SetValue Method (String, Guid)

Sets a GUID 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 Guid _
)
'Usage
Dim instance As SPSiteSubscriptionPropertyCollection
Dim key As String
Dim value As Guid

instance.SetValue(key, value)
public void SetValue(
    string key,
    Guid value
)

Parameters

  • key
    Type: System.String

    A string that contains the property key that corresponds to a value.

See Also

Reference

SPSiteSubscriptionPropertyCollection Class

SPSiteSubscriptionPropertyCollection Members

SetValue Overload

Microsoft.SharePoint Namespace

TryGetProperty(String, Guid)