Microsoft SDK for Java

compareSet

This method of the MultimediaPermission Class compares the MultimediaPermission instance against the specified permission object.

Syntax

public int compareSet(Object target);

Return Value

Returns EQUAL if the specified object is an instance of the MultimediaPermission class.

Parameters

target The permission object that the MultimediaPermission instance is compared against. It must be an instance of the MultimediaPermission class.

Exceptions

IllegalArgumentException if the specified Object is not an instance of the MultimediaPermission class.

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