StyleCollection.IndexOf(Style) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the index of the specified Style object within the collection.
public:
int IndexOf(System::Web::UI::WebControls::Style ^ style);
public int IndexOf (System.Web.UI.WebControls.Style style);
member this.IndexOf : System.Web.UI.WebControls.Style -> int
Public Function IndexOf (style As Style) As Integer
Parameters
Returns
The zero-based index of the first occurrence of style
within the collection; otherwise, -1 if the style is not in the collection.
Remarks
The Contains method determines equality by using the Equals method on the Style objects.
Applies to
See also
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.