SPUserResourceCollection.Item property

Gets the user resource with the specified name.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    resourceName As String _
) As SPUserResource
    Get
'Usage
Dim instance As SPUserResourceCollection
Dim resourceName As String
Dim value As SPUserResource

value = instance(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