Creates and returns a permission that is the intersection of the current permission object and a target permission object.
[Visual Basic] Overrides Public Function Intersect( _ ByVal target As IPermission _ ) As IPermission Implements IPermission.Intersect [C#] public override IPermission Intersect( IPermission target ); [C++] public: IPermission* Intersect( IPermission* target ); [JScript] public override function Intersect( target : IPermission ) : IPermission;
- A permission object of the same type as the current permission object.
A new permission object that represents the intersection of the current object and the specified target. This object is a null reference (Nothing in Visual Basic) if the intersection is empty.
|ArgumentException||target is an object that is not of the same type as the current permission object.|
The intersection of two permissions is a permission that describes the set of operations they both hold in common. Specifically, it represents the minimum permissions required for a demand to pass both permissions.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family