SiteIdentityPermission.IsSubsetOf(IPermission) メソッド

定義

現在のアクセス許可が指定のアクセス許可のサブセットかどうかを決定します。

public:
 override bool IsSubsetOf(System::Security::IPermission ^ target);
public override bool IsSubsetOf(System.Security.IPermission target);
override this.IsSubsetOf : System.Security.IPermission -> bool
Public Overrides Function IsSubsetOf (target As IPermission) As Boolean

パラメーター

target
IPermission

サブセットリレーションシップに対してテストされるアクセス許可。 このアクセス許可は、現在のアクセス許可と同じ種類である必要があります。

返品

true 現在のアクセス許可が指定されたアクセス許可のサブセットである場合。それ以外の場合は false

例外

target パラメーターはnullされず、現在のアクセス許可と同じ型ではありません。

注釈

現在のアクセス許可が、指定した権限に完全に含まれるサイトを指定している場合、現在のアクセス許可は、指定されたアクセス許可のサブセットです。

次の表は、現在のアクセス許可と指定したアクセス許可の値の範囲の IsSubsetOf の値を示しています。

現在のアクセス許可 指定されたアクセス許可 IsSubsetOf
www.fourthcoffee.com www.fourthcoffee.com true
www.fourthcoffee.com www.tailspintoys.com false
www.fourthcoffee.com *.fourthcoffee.com true
www.fourthcoffee.com *.com true
*.fourthcoffee.com www.fourthcoffee.com false
*.fourthcoffee.com *.fourthcoffee.com true
*.fourthcoffee.com *.com true
を除く何か None * true
None Anything true

適用対象