Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The Add method adds a policy to the collection.
Syntax
objCAPolicies.Add(
Policy As ICAPolicy)
Parameters
Policy
Specifies the ICAPolicy object to add to 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
No return value.
Remarks
If the policy is already in the collection, calling this method has no effect. Once a policy is added, it cannot be removed unless its ICAPolicy.OkToRemove property returns TRUE. Adding a policy triggers an ItemAdded event.
See Also