Modifier

CategoryNameCollection.Contains(String) Method

Definition

Indicates whether the specified category is contained in the collection.

public:
 bool Contains(System::String ^ value);
public bool Contains (string value);
member this.Contains : string -> bool
Public Function Contains (value As String) As Boolean

Parameters

value
String

The string to check for in the collection.

Returns

true if the specified category is contained in the collection; otherwise, false.

Applies to