共用方式為


TargetCollection.Contains(String) Method

Definition

Determines whether the collection contains the Target.

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

Parameters

name
String

The name of the Target.

Returns

true if the collection contains Target; otherwise, false.

Applies to