Item(String) Property

The Item property of the SPViewStyleCollection class gets the view style object with the specified name from the collection.

[C#] In C#, this property is an indexer for the SPViewStyleCollection class.

Parameters

strDisplayName    A string that specifies the display name of the view.

Property Value

A Microsoft.SharePoint.SPViewStyle object that represents the view style.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security