Value Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the string value of the current instance.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Property Value As String
'Usage
Dim instance As LanguageString
Dim value As String

value = instance.Value

instance.Value = value
public string Value { get; set; }
public:
property String^ Value {
    String^ get ();
    void set (String^ value);
}
public function get Value () : String
public function set Value (value : String)

Property Value

Type: System..::.String
The string value of the current instance. May not be nullNothingnullptra null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
PropertyNullValidationException

An attempt was made to set the CultureCode to nullNothingnullptra null reference (Nothing in Visual Basic).

StringLengthValidationException

An attempt was made to set the CultureCode to a string that was too long or to an empty string.

Remarks

The maximum length is 255 characters. When setting this property, leading and/or trailing whitespace is removed.

Permissions

See Also

Reference

LanguageString Class

LanguageString Members

Microsoft.CommerceServer.Marketing Namespace