Partager via


Description Property

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

Gets or sets the description for the current instance.

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

Syntax

'Declaration
Public Property Description As String
'Usage
Dim instance As MailingList
Dim value As String

value = instance.Description

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

Property Value

Type: System..::.String
The description of the MailingList. The Description must not be longer than 200 characters.

Exceptions

Exception Condition
StringLengthValidationException

An attempt was made to set the description to a string that was too long.

Remarks

A description of this mailing list. Description can hold free-form text up to 200 characters in length. You may also use Description as a memo or comment field. Whitespace is left unchanged. Setting Description to nullNothingnullptra null reference (Nothing in Visual Basic) is equivalent to setting it to string.Empty.

Permissions

See Also

Reference

MailingList Class

MailingList Members

Microsoft.CommerceServer.Marketing Namespace