CodeGroup.MembershipCondition 属性

定义

获取或设置代码组的成员条件。

public:
 property System::Security::Policy::IMembershipCondition ^ MembershipCondition { System::Security::Policy::IMembershipCondition ^ get(); void set(System::Security::Policy::IMembershipCondition ^ value); };
public System.Security.Policy.IMembershipCondition MembershipCondition { get; set; }
member this.MembershipCondition : System.Security.Policy.IMembershipCondition with get, set
Public Property MembershipCondition As IMembershipCondition

属性值

成员条件,它确定该代码组适用于哪个证据。

例外

尝试将该参数设置为 null

注解

成员资格条件测试证据并返回一个布尔值,该值指示是否存在匹配项。

适用于