Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Contains Method
Collapse the table of content
Expand the table of content

EmbeddedMailObjectsCollection.Contains Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft