ManagedInstanceCollection.Contains(String) Method

Definition

Returns a value indicating whether the collection contains the managed instance with the specified name.

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

Parameters

name
String

A String value that specifies the name of the managed instance to check

Returns

A Boolean value that indicates whether the specified managed instance is present in the collection. If true, the instance is present. Otherwise, false.

Applies to