CrawlRuleCollection.Item Property (Int32)

Gets a CrawlRule object from collection, based on the specified priority.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    priority As Integer _
) As CrawlRule
    Get
'Usage
Dim instance As CrawlRuleCollection
Dim priority As Integer
Dim value As CrawlRule

value = instance(priority)
public CrawlRule this[
    int priority
] { get; }

Parameters

  • priority
    Type: System.Int32
    A 32-bit integer that specifies the priority.

Property Value

Type: Microsoft.Office.Server.Search.Administration.CrawlRule
A CrawlRule object that represents the crawl rule.

See Also

Reference

CrawlRuleCollection Class

CrawlRuleCollection Members

Item Overload

Microsoft.Office.Server.Search.Administration Namespace