Share via


UserProfileValueCollection.Value Property

Gets or sets the values of the collection.

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

Syntax

'Declaration
Public Property Value As Object
    Get
    Set
'Usage
Dim instance As UserProfileValueCollection
Dim value As Object

value = instance.Value

instance.Value = value
public Object Value { get; set; }

Property Value

Type: System.Object
If the collection is empty, the user profile value is a null reference (Nothing in Visual Basic). If the collection contains one value, the user profile property value is that value. If the collection contains multiple values, the user profile value equals a copy of an array of those values. If setting this property, the value or values are added to the UserProfileValueCollection. Setting this property to a null reference (Nothing) clears the collection.

See Also

Reference

UserProfileValueCollection Class

UserProfileValueCollection Members

Microsoft.Office.Server.UserProfiles Namespace