Share via


ExecutePermission.copy Method

Creates and returns a copy of the current permission class object.

Syntax

public CodeAccessPermission copy()

Run On

Called

Return Value

Type: CodeAccessPermission Class
A copy of the current permission object.

Remarks

You override this method when you derive a class from the CodeAccessPermission class.

See Also

Reference

ExecutePermission Class