Share via


Validate Method

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

Validates the CatalogName and ProductId properties for the basket event.

Namespace:  Microsoft.CommerceServer.Runtime
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overrides Function Validate As Boolean
'Usage
Dim instance As BasketEvent
Dim returnValue As Boolean

returnValue = instance.Validate()
public override bool Validate()
public:
virtual bool Validate() override
public override function Validate() : boolean

Return Value

Type: System..::.Boolean
true to indicate CatalogName and ProductId valid (not nullNothingnullptra null reference (Nothing in Visual Basic)); otherwise, false.

Remarks

Use this method to validate the CatalogName and ProductID properties for the basket event.

Permissions

See Also

Reference

BasketEvent Class

BasketEvent Members

Microsoft.CommerceServer.Runtime Namespace