Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The Item property retrieves a policy from the collection.
Syntax
objCAPolicies.Item(Index) As ICAPolicy
Parameters
Index
VARIANT that specifies the policy to retrieve. This parameter can be a zero-based index into the collection, an ICAPolicy object already in the collection, or a string containing the CLSID of the policy.
Error Codes
If the property fails, an error is raised and Err.Number is set to a value other than zero.
Return Values
Returns an ICAPolicy object.
Remarks
This property is the default member of the ICAPolicies object, so you do not need to specify the property name when you retrieve it. For example, the following are equivalent:
Set policy = policies.Item(1)
Set policy = policies(1)
This property is read-only.
See Also