Share via


SPSiteSubscriptionPropertyCollection members

Represents a collection of key/value pair properties that are associated with a SPSiteSubscription object.

The SPSiteSubscriptionPropertyCollection type exposes the following members.

Properties

  Name Description
Public property Id Gets or sets the unique identifier of the current object. (Inherited from SPSiteSubscriptionSettingsObject.)
Protected property Version Gets or sets the version number of the current object. (Inherited from SPSiteSubscriptionSettingsObject.)
Protected property WasDeleted Gets or sets a Boolean value that specifies whether the current object has already been deleted in the persisted store. (Inherited from SPSiteSubscriptionSettingsObject.)

Top

Methods

  Name Description
Public method Add(String, Boolean) Adds a key string and Boolean value to the property collection.
Public method Add(String, DateTime) Adds a key string and DateTime value to the property collection.
Public method Add(String, Guid) Adds a key string and GUID value to the property collection.
Public method Add(String, Int32) Adds a key string and Int32 value to the property collection.
Public method Add(String, Int64) Adds a key string and Int64 value to the property collection.
Public method Add(String, String) Adds a key string and string value to the property collection.
Public method ContainsKey Returns a Boolean value that indicates whether the collection contains a specified key.
Public method Delete Deletes the current object. (Inherited from SPSiteSubscriptionSettingsObject.)
Protected method Deserialize (Overrides SPSiteSubscriptionSettingsObject.Deserialize(String).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Removes the element with the specified key from the collection.
Protected method RemoveObject (Overrides SPSiteSubscriptionSettingsObject.RemoveObject().)
Protected method Serialize (Overrides SPSiteSubscriptionSettingsObject.Serialize().)
Public method SetValue(String, Boolean) Sets a Boolean property value that is associated with a specified key, and if the specified key does not exist, adds a new element with the key.
Public method SetValue(String, DateTime) 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.
Public method SetValue(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.
Public method SetValue(String, Int32) Sets an Int32 property value that is associated with a specified key, and if the specified key does not exist, adds a new element with the key.
Public method SetValue(String, Int64) Sets an Int64 property value that is associated with a specified key, and if the specified key does not exist, adds a new element with the key.
Public method SetValue(String, String) Sets a string property value that is associated with a specified key, and if the specified key does not exist, adds a new element with the key.
Protected method StoreObject (Overrides SPSiteSubscriptionSettingsObject.StoreObject(String).)
Public method ToString Returns a human-readable string representation of the current object. (Inherited from SPSiteSubscriptionSettingsObject.)
Public method Update Updates the current object in the persisted store. (Inherited from SPSiteSubscriptionSettingsObject.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<KeyValuePair<String, Object>>.GetEnumerator Returns a strongly typed enumerator for the property collection.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator for the property collection.

Top

See also

Reference

SPSiteSubscriptionPropertyCollection class

Microsoft.SharePoint namespace