Share via


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

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)

See Also

DssNetworkPermission Class

Microsoft.Dss.Core.Permissions Namespace