Compartilhar via


SPUserResourceCollection.Item Property

Gets the user resource with the specified name.

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 ( _
    resourceName As String _
) As SPUserResource
    Get
'Usage
Dim instance As SPUserResourceCollection
Dim resourceName As String
Dim value As SPUserResource

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

Parameters

  • resourceName
    Type: System.String

    The name of the user resource.

Property Value

Type: Microsoft.SharePoint.SPUserResource
The user resource.

See Also

Reference

SPUserResourceCollection Class

SPUserResourceCollection Members

Microsoft.SharePoint Namespace

Name