EmbeddedMailObjectsCollection.Add Method (EmbeddedMailObject)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds an EmbeddedMailObject to the end of the EmbeddedMailObjectsCollection collection.

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

public int Add(
	EmbeddedMailObject value

Return Value

Type: System.Int32

Returns the index of the EmbeddedMailObject in the EmbeddedMailObjectsCollection.

Exception Condition

The specified value is null.

.NET Framework
Available since 2.0
Return to top