Microsoft DirectX 8.1 (C++)

CADenials.Remove

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The Remove method removes a denial from the collection.

Syntax

objCADenials.Remove(Index)

Parameters

  Index

VARIANT that specifies the denial to remove. This parameter can be a zero-based index into the collection, or an ICADenial object already in the collection.

Error Codes

If the method fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

This method has no return value.

Remarks

Before removing the denial, this method checks the owning policy�s ICAPolicy.OkToRemoveDenial property. If this property is FALSE, the Remove method fails.

See Also