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
- id
Type: System.Guid
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