WebPartDisplayModeCollection::Item Property (String)
Gets a specific member of the collection according to a unique identifier.
Assembly: System.Web (in System.Web.dll)
public: property WebPartDisplayMode^ Item[String^ modeName] { WebPartDisplayMode^ get (String^ modeName); }
Parameters
- modeName
- Type: System::String
A string that contains the name of a particular display mode in the collection.
Property Value
Type: System.Web.UI.WebControls.WebParts::WebPartDisplayModeThe first WebPartDisplayMode whose mode name matches the value of the modeName parameter.
The Item property enables you to access a WebPartDisplayMode object within a WebPartDisplayModeCollection collection by using a string identifier for a particular display mode.
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.