Share via


QueryActionCollection<T>.Item property (Guid)

Gets a QueryAction object by its Id.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    id As Guid _
) As T
    Get
'Usage
Dim instance As QueryActionCollection
Dim id As Guid
Dim value As T

value = instance(id)
public T this[
    Guid id
] { get; }

Parameters

Property value

Type: T

Exceptions

Exception Condition
ArgumentException

Thrown when the QueryAction object doesn't exist in the collection

See also

Reference

QueryActionCollection<T> class

QueryActionCollection<T> members

Item overload

Microsoft.Office.Server.Search.Query.Rules namespace