PermissionSet.Intersect メソッド
アセンブリ: mscorlib (mscorlib.dll 内)

Dim instance As PermissionSet Dim other As PermissionSet Dim returnValue As PermissionSet returnValue = instance.Intersect(other)
戻り値
現在の PermissionSet と指定したターゲットの積集合を表す新しい PermissionSet。積集合が空である場合、このオブジェクトは null 参照 (Visual Basic では Nothing) です。

2 つのアクセス許可セットの積集合となるアクセス許可セットには、両方に共通する操作のセットが記述されています。つまり、両方のアクセス許可セットに適合する要求がそれぞれの積集合にも適合する、最小のアクセス許可を表します。
2 つのセット内に存在するそれぞれのアクセス許可の種類については、アクセス許可の 2 つのインスタンスが、そのアクセス許可の Intersect メソッドを使用して積集合になり、その結果のアクセス許可が結果の PermissionSet に含まれます。2 つのセットのうちの 1 つだけにあるアクセス許可の種類は、結果セットから除外されます。

Intersect メソッドを使用するコード例を次に示します。このコード例は、PermissionSet クラスのトピックで取り上げているコード例の一部分です。
' Display the intersection of two permission sets. Dim ps3 As PermissionSet = ps2.Intersect(ps1) Console.WriteLine("The intersection of the first permission set and " & "the second permission set = " & ps3.ToString())
// Display the intersection of two permission sets. PermissionSet ps3 = ps2.Intersect(ps1); Console.WriteLine("The intersection of the first permission set and " + "the second permission set = " + ps3.ToString());
// Display the intersection of two permission sets. PermissionSet^ ps3 = ps2->Intersect( ps1 ); Console::WriteLine( "The intersection of the first permission set and the second permission set = {0}", ps3 );
// Display the intersection of two permission sets. PermissionSet ps3 = ps2.Intersect(ps1); Console.WriteLine( ("The intersection of the first permission set and " + "the second permission set = " + ps3.ToString()));

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からPermissionSet.Intersect メソッドを検索する場合は、下記のリンクをクリックしてください。

- PermissionSet.Intersect メソッドのページへのリンク