Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CrawlRuleCollection members
Collapse the table of content
Expand the table of content

CrawlRuleCollection members

Represents a collection of CrawlRule objects.

The CrawlRuleCollection type exposes the following members.

  Name Description
Public property Count Gets the number of CrawlRule objects in the collection.
Public property Item[Int32] Gets a CrawlRule object from collection, based on the specified priority.
Public property Item[String] Gets a CrawlRule object from collection, based on the specified path.
Public property Parent Gets the parent Content object for the crawl rule collection.

  Name Description
Public method Create(CrawlRuleType, String) Creates a crawl rule.
Public method Create(CrawlRuleType, Boolean, String) Creates a crawl rule.
Public method Equals (Inherited from Object.)
Public method Exists Returns a Boolean value that indicates whether the specified crawl rule exists in the collection.
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that can be used to access the items in the crawl rule collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveFromResults Removes a list of content items from search results without requiring a re-crawl of the content.
Public method SetPriority Sets the priority for a crawl rule.
Public method Test Tests a specified URL against all crawl rules in the collection, and returns a CrawlRule object representing the crawl rule that was triggered for the URL.
Public method ToString (Inherited from Object.)
© 2015 Microsoft