NAnt SDK Documentation - v0.92

EmbeddedResourceCollection.IndexOf Method 

Gets the location of a EmbeddedResource in the collection.

[Visual Basic]
Public Function IndexOf( _
   ByVal value As EmbeddedResource _
) As Integer
[C#]
public int IndexOf(
   EmbeddedResource value
);

Parameters

value
The EmbeddedResource object to locate.

Return Value

The zero-based location of the EmbeddedResource in the collection.

Remarks

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

See Also

EmbeddedResourceCollection Class | NAnt.DotNet.Types Namespace