ApplicationTrustCollection.Find Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the application trusts in the collection that match the specified application identity.
public:
System::Security::Policy::ApplicationTrustCollection ^ Find(ApplicationIdentity ^ applicationIdentity, System::Security::Policy::ApplicationVersionMatch versionMatch);
public System.Security.Policy.ApplicationTrustCollection Find (ApplicationIdentity applicationIdentity, System.Security.Policy.ApplicationVersionMatch versionMatch);
[System.Security.SecurityCritical]
public System.Security.Policy.ApplicationTrustCollection Find (ApplicationIdentity applicationIdentity, System.Security.Policy.ApplicationVersionMatch versionMatch);
member this.Find : ApplicationIdentity * System.Security.Policy.ApplicationVersionMatch -> System.Security.Policy.ApplicationTrustCollection
[<System.Security.SecurityCritical>]
member this.Find : ApplicationIdentity * System.Security.Policy.ApplicationVersionMatch -> System.Security.Policy.ApplicationTrustCollection
Public Function Find (applicationIdentity As ApplicationIdentity, versionMatch As ApplicationVersionMatch) As ApplicationTrustCollection
Parameters
- applicationIdentity
- ApplicationIdentity
An ApplicationIdentity object describing the application to find.
- versionMatch
- ApplicationVersionMatch
One of the ApplicationVersionMatch values.
Returns
An ApplicationTrustCollection containing all matching ApplicationTrust objects.
- Attributes
Remarks
The application trust is optionally selected by an exact version match, based on the value of the versionMatch
parameter.