DesignerAutoFormatCollection::IndexOf Method (DesignerAutoFormat^)
.NET Framework (current version)
Returns the index of the specified DesignerAutoFormat object within the collection.
Assembly: System.Design (in System.Design.dll)
Parameters
- format
-
Type:
System.Web.UI.Design::DesignerAutoFormat^
The DesignerAutoFormat to locate within the collection.
Return Value
Type: System::Int32The zero-based index of the first occurrence of format within the collection; otherwise, -1, if the format is not in the collection.
The IndexOf method determines equality by using the Equals method on the DesignerAutoFormat objects that are being compared.
.NET Framework
Available since 2.0
Available since 2.0
Show: