ASP.NET Pack Programmer's Guide
BrushCollection.IndexOf Method
See Also
 





Returns the index of the first occurrence of the specified Brush.

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

public int IndexOf (
    Brush brush
)

Visual Basic  Copy Code

Public Function IndexOf ( _
    brush As Brush _
) As Integer

 Parameters

brush

The Brush object to locate in the collection.

 Return Value

The zero-based index of the first occurrence of brush within the entire collection, if found; otherwise, -1.

 See Also

BrushCollection Members
BrushCollection Class
MindFusion.Drawing Namespace