WebPartDescriptionCollection.IndexOf(WebPartDescription) 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 position of a particular member of the collection.
public:
int IndexOf(System::Web::UI::WebControls::WebParts::WebPartDescription ^ value);
public int IndexOf (System.Web.UI.WebControls.WebParts.WebPartDescription value);
member this.IndexOf : System.Web.UI.WebControls.WebParts.WebPartDescription -> int
Public Function IndexOf (value As WebPartDescription) As Integer
Parameters
- value
- WebPartDescription
A WebPartDescription that is a member of the collection.
Returns
An integer that indicates the position of a particular object in the collection.
Remarks
The IndexOf method is useful if you have multiple WebPartDescription objects, and you need to know the ordinal position of one object relative to the others.
Applies to
See also
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.