Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds an item to the collection
Namespace: Microsoft.Office.Server.Search.Query.Rules
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub Add ( _
item As Guid _
)
'Usage
Dim instance As BestBetIdCollection
Dim item As Guid
instance.Add(item)
public void Add(
Guid item
)
Parameters
- item
Type: System.Guid
Exceptions
| Exception | Condition |
|---|---|
| NotSupportedException | Thrown when the collection is read only |
| ArgumentException | Thrown when the item already exists in the collection |