Share via


UserProfileValueCollection.Item Property

Gets or sets the user profile value associated with the specified index of the collection.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As Object
    Get
    Set
'Usage
Dim instance As UserProfileValueCollection
Dim index As Integer
Dim value As Object

value = instance(index)

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

Parameters

  • index
    Type: System.Int32
    A 32-bit integer that represents the index of the user profile value.

Property Value

Type: System.Object

See Also

Reference

UserProfileValueCollection Class

UserProfileValueCollection Members

Microsoft.Office.Server.UserProfiles Namespace