WebPartDisplayModeCollection.IndexOf(WebPartDisplayMode) 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::WebPartDisplayMode ^ value);
public int IndexOf (System.Web.UI.WebControls.WebParts.WebPartDisplayMode value);
member this.IndexOf : System.Web.UI.WebControls.WebParts.WebPartDisplayMode -> int
Public Function IndexOf (value As WebPartDisplayMode) As Integer
Parameters
- value
- WebPartDisplayMode
A WebPartDisplayMode 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 WebPartDisplayMode objects, and you need to know the ordinal position (the index) of one object relative to the others.
Applies to
See also
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ