System.Security.Policy.IMembershipCondition Interface

Assembly: Mscorlib.dll
Namespace: System.Security.Policy
Summary
Defines the test to determine whether a code assembly is a member of a code group.
C# Syntax:
public interface IMembershipCondition : ISecurityEncodable, ISecurityPolicyEncodable
See also:
System.Security.Policy Namespace

System.Security.Policy.IMembershipCondition Member List:

Public Methods
Check Determines whether the specified evidence satisfies the membership condition.
Copy Creates an equivalent copy of the membership condition.
Equals
ToString Creates and returns a string representation of the membership condition.

Hierarchy:


System.Security.Policy.IMembershipCondition Member Details

Method: Check(
   Evidence evidence
)
Summary
Determines whether the specified evidence satisfies the membership condition.
C# Syntax:
bool Check(
   Evidence evidence
);
Parameters:

evidence

The evidence set against which to make the test.

Return Value:
true if the specified evidence satisfies the membership condition; otherwise, false.

Return to top


Method: Copy()
Summary
Creates an equivalent copy of the membership condition.
C# Syntax:
IMembershipCondition Copy();
Return Value:
A new, identical copy of the current membership condition.

Return to top


Method: Equals(
   object obj
)
C# Syntax:
bool Equals(
   object obj
);
Parameters:

obj

Return to top


Method: ToString()
Summary
Creates and returns a string representation of the membership condition.
C# Syntax:
string ToString();
Return Value:
A string representation of the state of the current membership condition.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.