ApplicationTrustCollection.Find 方法

定义

获取集合中与指定应用程序标识匹配的应用程序信任。

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

参数

applicationIdentity
ApplicationIdentity

描述要查找的应用程序的 ApplicationIdentity 对象。

返回

包含所有匹配的 ApplicationTrustCollection 对象的 ApplicationTrust

属性

注解

根据 参数的值 versionMatch ,可以选择通过完全版本匹配来选择应用程序信任。

适用于