SPViewStyleCollection.Item property (String)
Gets the view style object with the specified name from the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
strDisplayName As String _
) As SPViewStyle
Get
'Usage
Dim instance As SPViewStyleCollection
Dim strDisplayName As String
Dim value As SPViewStyle
value = instance(strDisplayName)
public SPViewStyle this[
string strDisplayName
] { get; }
Parameters
strDisplayName
Type: System.StringA string that specifies the display name of the view.
Property value
Type: Microsoft.SharePoint.SPViewStyle
An SPViewStyle object that represents the view style.
Remarks
In C#, this property is an indexer for the SPViewStyleCollection class.