When implemented by a derived class, creates and returns a permission that is the intersection of the current permission and the specified permission.
Assembly: System (in System.dll)
'Declaration Public Overrides Function Intersect ( _ target As IPermission _ ) As IPermission
- Type: System.Security.IPermission
A permission to combine with the current permission. It must be of the same type as the current permission.
Return ValueType: System.Security.IPermission
An IPermission that represents the intersection of the current permission and the specified permission; otherwise, Nothing if the intersection is empty.