Share via


PropertyCollection Members

Include Protected Members
Include Inherited Members

Represents a collection of Property objects. Use the PropertyCollection class to enumerate all properties defined at a site.

The PropertyCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of user profile property objects for this collection.
Public property DefaultLanguage
Public property IsSynchronized Gets a value indicating whether access to the property collection is synchronized (thread safe).
Public property SyncRoot

Top

Methods

  Name Description
Public method Add Adds a property to this site.
Public method CommitDisplayOrder Commits the changes made to the display order to the user profile database.
Public method CopyTo Copies the elements of the property collection to an array, starting at a specified index.
Public method Create Creates a Property object and specifies whether the property is a section.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets the enumerator for the properties.
Public method GetHashCode (Inherited from Object.)
Public method GetPropertyByName Gets a property by name.
Public method GetPropertyByURI Gets a property by URI.
Public method GetSectionByName Gets a section by name.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveByName Removes a property or section object from the user profile database by name.
Public method RemovePropertyByName Removes the property from the user profile database by the name of the property.
Public method RemovePropertyByURI Removes the property from the user profile database by the URI of the property.
Public method RemoveSectionByName Removes the specified section by name.
Public method SetDisplayOrderByName Sets the specified display order of the properties by name.
Public method SetDisplayOrderByPropertyName Sets the specified display order of the properties by property name.
Public method SetDisplayOrderByPropertyURI Sets the specified display order of the properties by property URI.
Public method SetDisplayOrderBySectionName Sets the specified display order of the properties by section name.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

PropertyCollection Class

Microsoft.Office.Server.UserProfiles Namespace