Condividi tramite


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Item ( _
    strDisplayName As String _
) As SPViewStyle
    Get
'Usage
Dim instance As SPViewStyleCollection
Dim strDisplayName As String
Dim value As SPViewStyle

value = instance.Item(strDisplayName)
public SPViewStyle this[
    string strDisplayName
] { get; }

Parameters

  • strDisplayName
    Type: System.String

    A 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.

See Also

Reference

SPViewStyleCollection Class

SPViewStyleCollection Members

Item Overload

Microsoft.SharePoint Namespace