EmbeddedMailObjectsCollection.Contains Method (EmbeddedMailObject)

 

Determines whether the EmbeddedMailObjectsCollection contains a specific EmbeddedMailObject.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public bool Contains(
	EmbeddedMailObject value
)

Return Value

Type: System.Boolean

true if the EmbeddedMailObjectsCollection contains obj; otherwise, false.

Use the IndexOf method to identify the position of the EmbeddedMailObject in the EmbeddedMailObjectsCollection.

.NET Framework
Available since 2.0
Return to top
Show: