RankProfileCollection.Contains Method
Returns a Boolean value to indicate the existence of a RankProfile object matching the name filter.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Schema
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function Contains ( _
name As String _
) As Boolean
'Usage
Dim instance As RankProfileCollection
Dim name As String
Dim returnValue As Boolean
returnValue = instance.Contains(name)
bool Contains(
string name
)
Parameters
name
Type: System.StringA string that represents the name of a rank profile.
Return Value
Type: System.Boolean
[true] indicates that the RankProfileCollection class contains the specified rank profile; otherwise, [false].
See Also
Reference
RankProfileCollection Interface
Microsoft.SharePoint.Search.Extended.Administration.Schema Namespace