Share via


Validate Method

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

Validates the order group identifier for the 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 SubmitOrderEvent
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 the group identifier is valid; otherwise false.

Remarks

Returns a value indicating whether the order group ID is valid. If the order group ID is nullNothingnullptra null reference (Nothing in Visual Basic), the return value is false.

This method overrides the Validate function provided by the BaseCommerceEvent class.

Permissions

See Also

Reference

SubmitOrderEvent Class

SubmitOrderEvent Members

Microsoft.CommerceServer.Runtime Namespace