Share via


SPPrefixCollection members

Represents a collection of SPPrefix objects.

The SPPrefixCollection type exposes the following members.

Constructors

  Name Description
Public method SPPrefixCollection This member is reserved for internal use and is not intended to be used directly from your code.

Top

Properties

  Name Description
Public property Count Gets the number of prefix objects in the collection. (Overrides SPBaseCollection.Count.)
Public property Item Gets the prefix object at the specified index in the collection. In C#, this property is an indexer for the SPPrefixCollection class.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Add Adds the specified prefix to the collection.
Public method Contains Returns a Boolean value that indicates whether the collection contains the specified prefix.
Public method Delete(String) Deletes the specified prefix from the collection.
Public method Delete([]) Deletes the specified array of prefixes from the collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindSiteRoot Looks in this collection for a prefix that matches the beginning of the server-relative request url.
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method Lookup Retrieves a copy of the specified SPPrefix object from this collection, if one exists.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent Updates the parent Web application of the prefix collection. (Overrides SPAutoSerializingObject.UpdateParent().)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<SPPrefix>.GetEnumerator Returns an enumerator that iterates through the collection.

Top

See also

Reference

SPPrefixCollection class

Microsoft.SharePoint.Administration namespace