Microsoft SDK for Java

includeRule

This method of the RegistryPermission Class adds a rule that allows the specified access types to the registry keys/values specified by the pattern string.

Syntax

public void includeRule(int access, String pattern);

Parameters

access The access types being added. Must be one of the following types: OPEN, READ, WRITE, DELETE, or CREATE, or any combination of these types used with the OR operator (|).
pattern The registry keys or values to which the specified access type is being added. This parameter must be of the form accepted by a WildcardExpression with the ESCAPED flag enabled.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.