Intersect Method
Microsoft Robotics Class Reference
Creates a permission instance that is the intersection of the current permission instance and the specified permission instance.
Namespace: Microsoft.Dss.Core.Permissions
Assembly: Microsoft.Dss.Base (in Microsoft.Dss.Base.dll) Version: 4.0.261.0 (4.0.261.0)
Syntax
public override IPermission Intersect(
IPermission target
)
Parameters
- target
Type: System.Security. . :: . .IPermission
The DssNetworkPermission instance to intersect with the current instance.
Return Value
A DssNetworkPermission instance that represents the intersection of the current DssNetworkPermission instance with the specified DssNetworkPermission instance, or a null reference if the intersection is empty. If both the current instance and target are unrestricted, this method returns a new DssNetworkPermission instance that is unrestricted; otherwise, it returns a null reference
Implements
IPermission. . :: . .Intersect(IPermission)