Share via


SPScriptSafeCollection.Item property

Gets the script safe record in the specified index.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As String
    Get
'Usage
Dim instance As SPScriptSafeCollection
Dim index As Integer
Dim value As String

value = instance(index)
public string this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    The index of the record in the collection.

Property value

Type: System.String

See also

Reference

SPScriptSafeCollection class

SPScriptSafeCollection members

Microsoft.SharePoint namespace