다음을 통해 공유


ContactFax Property

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

Gets or sets the contact fax numberof the current Customer object.

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

Syntax

'Declaration
Public Property ContactFax As String
'Usage
Dim instance As Customer
Dim value As String

value = instance.ContactFax

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

Property Value

Type: System..::.String
The contact fax number of the customer.

Exceptions

Exception Condition
StringLengthValidationException

An attempt was made to set ContactFax to a string that was longer than 100 characters.

Remarks

Stores the fax number for the Customer object. ContactFax may contain up to 100 characters. When setting the property, leading and trailing whitespace is removed. Setting the value to nullNothingnullptra null reference (Nothing in Visual Basic) or string.empty indicates that there should be no customer facsimile number.

Examples

  cu.ContactFax = "(610) 555-1212";

Permissions

See Also

Reference

Customer Class

Customer Members

Microsoft.CommerceServer.Marketing Namespace