SPSearchResultCollection Members

Include Protected Members
Include Inherited Members

This method is deprecated. For Search, use the Execute method of the Microsoft.SharePoint.Search.Query.KeywordQuery class or the Microsoft.SharePoint.Search.Query.FullTextSqlQuery class. Represents a collection of SPSearchResult objects.

The SPSearchResultCollection type exposes the following members.

Properties

  Name Description
Public property Count Deprecated. Gets the number of search result objects in the collection. (Overrides SPBaseCollection.Count.)
Public property Item Deprecated. Gets the search result object at the specified index in the collection. In Microsoft Visual C#, this property is the indexer for the SPSearchResultCollection class.
Public property NextPagePosition Deprecated. Gets the position for the next page of data in a paged view of the search results.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public methodStatic member GetQuery Deprecated.
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPSearchResultCollection Class

Microsoft.SharePoint Namespace