Description Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the description of the expression.
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 Expression
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
A free-form description of the expression. This object can also be a comment.
Exceptions
Exception | Condition |
---|---|
StringLengthValidationException | An attempt was made to set the name to a string that was greater than 200 characters. |
Remarks
The maximum length of Description is 200 characters. Whitespace is not altered. Setting the value to nullNothingnullptra null reference (Nothing in Visual Basic) results in string.Empty value.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.