共用方式為


EventInfoCollection.Contains(String) Method

Definition

Determines whether the collection contains Event.

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 Event.

Returns

true if the collection contains Event; otherwise, false.

Applies to