共用方式為


SPSolutionValidatorCollection Members

Include Protected Members
Include Inherited Members

Solution validator collection class.

The SPSolutionValidatorCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of objects in the collection. (Inherited from SPPersistedObjectCollection<T>.)
Public property IsEmpty Gets a Boolean value that indicates whether the collection contains any objects. (Inherited from SPPersistedObjectCollection<T>.)
Public property Item[Guid] Gets the persisted object in the collection based on the specified GUID. (Inherited from SPPersistedObjectCollection<T>.)
Public property Item[String] Gets the persisted object in the collection based on the specified name. (Inherited from SPPersistedObjectCollection<T>.)
Protected property Parent Gets the parent object that declares this collection. (Inherited from SPPersistedObjectCollection<T>.)

Top

Methods

  Name Description
Public method Add Inserts a solution validator after all existing solution validators if it does not exist. (Overrides SPPersistedChildCollection<T>.Add(T).)
Public method Ensure Inserts a solution validator after all existing solution validators if it does not exist. Behaves the same as Add. (Overrides SPPersistedChildCollection<T>.Ensure(T).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator that can be used to iterate through the collection. (Inherited from SPPersistedObjectCollection<T>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValue<U>() Retrieves an object from the collection with the specified type and the default name. (Inherited from SPPersistedObjectCollection<T>.)
Public method GetValue<U>(Guid) Retrieves an object from the collection with the specified ID and type. (Inherited from SPPersistedObjectCollection<T>.)
Public method GetValue<U>(String) Retrieves an object from the collection with the specified name and type. (Inherited from SPPersistedObjectCollection<T>.)
Public method Insert Inserts a solution validator at the specified index location if it does not exist.
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Delete the validator having the specified validatorId if it exists. (Overrides SPPersistedChildCollection<T>.Remove(Guid).)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from SPPersistedObjectCollection<T>.)

Top

See Also

Reference

SPSolutionValidatorCollection Class

Microsoft.SharePoint.UserCode Namespace