EmbeddedResourceCollection.

IndexOf(EmbeddedResource) Method

Summary

Gets the location of a NAnt.DotNet.Types.EmbeddedResource in the collection.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Types
Containing Type
EmbeddedResourceCollection

Syntax

public int IndexOf(EmbeddedResource value)

Remarks

If the NAnt.DotNet.Types.EmbeddedResource is not currently a member of the collection, -1 is returned.

Parameters

Name Type Description
value EmbeddedResource The NAnt.DotNet.Types.EmbeddedResource object to locate.

Return Value

Type Description
int The zero-based location of the NAnt.DotNet.Types.EmbeddedResource in the collection.