共用方式為


SPPrefixCollection Members

Include Protected Members
Include Inherited 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 GetEnumerator (Inherited from SPBaseCollection.)
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 GetTypedEnumerator<T> (Inherited from SPBaseCollection.)
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 ICollection.CopyTo (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate method IEnumerable<SPPrefix>.GetEnumerator Returns an enumerator that iterates through the collection.
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPPrefixCollection Class

Microsoft.SharePoint.Administration Namespace