Redigera

Dela via


ConfigurationPermissionAttribute.CreatePermission Method

Definition

Creates and returns an object that implements the IPermission interface.

public:
 override System::Security::IPermission ^ CreatePermission();
public override System.Security.IPermission CreatePermission ();
override this.CreatePermission : unit -> System.Security.IPermission
Public Overrides Function CreatePermission () As IPermission

Returns

An object that implements IPermission.

Remarks

This method returns a new ConfigurationPermission object.

Applies to