Share via


ScopeCollection.Item property

Gets the specified scope from the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    id As Integer _
) As Scope
    Get
'Usage
Dim instance As ScopeCollection
Dim id As Integer
Dim value As Scope

value = instance(id)
public Scope this[
    int id
] { get; }

Parameters

  • id
    Type: System.Int32

    A 32-bit integer that specifies the scope ID.

Property value

Type: Microsoft.Office.Server.Search.Administration.Scope
A Scope object that represents the specified scope.

See also

Reference

ScopeCollection class

ScopeCollection members

Microsoft.Office.Server.Search.Administration namespace