Share via


Union Method

Microsoft Robotics Class Reference

Creates a permission instance that is the union 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 Union(
    IPermission target
)

Parameters

Return Value

A DssNetworkPermission instance that represents the union of the current DssNetworkPermission instance with the specified DssNetworkPermission instance. If target is a null reference, this method returns a copy of the current instance. If the current instance or target is unrestricted, this method returns a DssNetworkPermission instance that is unrestricted; otherwise, it returns a DssNetworkPermission instance that is restricted

Implements

IPermission. . :: . .Union(IPermission)

See Also

DssNetworkPermission Class

Microsoft.Dss.Core.Permissions Namespace