WebPartDisplayModeCollection::Item Property (Int32)
Gets a specific member of the collection according to its index.
Assembly: System.Web (in System.Web.dll)
public: property WebPartDisplayMode^ Item[int index] { WebPartDisplayMode^ get (int index); }
Parameters
- index
- Type: System::Int32
An integer that indicates the index of a member of the collection.
Property Value
Type: System.Web.UI.WebControls.WebParts::WebPartDisplayModeA WebPartDisplayMode at the specified index in the collection.
The Item property enables you to access a WebPartDisplayMode object within a WebPartDisplayModeCollection collection by using an index number that represents its ordinal position in the collection.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.