Partager 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