ProfileProperty.Value Property (BCL)

The Value property accesses the property value.

Definition

[Visual Basic .NET]

Public Property Value As System.Object

[C#]

public System.Object Value{get; set;} 

Property Value

A System.Object containing the value of the property.

Remarks

 When assigning values to the ProfileProperty.Value member, do not pass an array of strings with one or more null elements. Doing so will cause an exception to be thrown, and the ProfileProperty.Value member assignment will not occur.

In the BCL interface, you use System.DBNull to null out the value.

When dealing with implementations involving the encryption of profile properties, note that the KeyIndex ProfileProperty.Value property is read-only, and will throw an exception if you write to it.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Profiles

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.