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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour