RoleGroupCollection.IndexOf(RoleGroup) 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.
Searches the collection and returns the zero-based index of the first occurrence of the specified RoleGroup.
public:
int IndexOf(System::Web::UI::WebControls::RoleGroup ^ group);
public int IndexOf (System.Web.UI.WebControls.RoleGroup group);
member this.IndexOf : System.Web.UI.WebControls.RoleGroup -> int
Public Function IndexOf (group As RoleGroup) As Integer
Parameters
Returns
The zero-based index of the first occurrence of group
within the entire RoleGroupCollection, if found; otherwise, -1.
Remarks
The IndexOf method performs a linear search; therefore the average execution time depends on the number of members in the collection.
Applies to
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.