CapeObjectBaseValidate Method

Validates the PMC.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
public virtual bool Validate(
	ref string message
)

Parameters

message  String
Reference to a string that will conain a message regarding the validation of the parameter.

Return Value

Boolean

true, if the unit is valid.

false, if the unit is not valid.

Remarks

Validates the parameter collection. This base-class implementation of this method traverses the parameter collections and calls the Validate(String) method of each member parameter. The PMC is valid if all parameters are valid, which is signified by the Validate method returning true.

Exceptions

ECapeUnknownThe error to be raised when other error(s), specified for this operation, are not suitable.
ECapeBadCOParameterECapeBadCOParameter
ECapeBadInvOrderECapeBadInvOrder

See Also