ManagedPropertyCollection.Contains method (Int32)
Returns whether this collection of managed properties contains a specific ManagedProperty object.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function Contains ( _
pid As Integer _
) As Boolean
'Usage
Dim instance As ManagedPropertyCollection
Dim pid As Integer
Dim returnValue As Boolean
returnValue = instance.Contains(pid)
public bool Contains(
int pid
)
Parameters
pid
Type: System.Int32The pid of the managed property.
Return value
Type: System.Boolean
[true] indicates the ManagedPropertyCollection class contains the specified ManagedProperty; otherwise, [false].
See also
Reference
ManagedPropertyCollection class