ApplicationTrustCollection.RemoveRange 方法

定义

从集合中移除应用程序信任对象的集合。

重载

RemoveRange(ApplicationTrust[])

从集合中移除指定数组中的应用程序信任对象。

RemoveRange(ApplicationTrustCollection)

从集合中移除指定集合中的应用程序信任对象。

RemoveRange(ApplicationTrust[])

Source:
ApplicationTrustCollection.cs
Source:
ApplicationTrustCollection.cs
Source:
ApplicationTrustCollection.cs

从集合中移除指定数组中的应用程序信任对象。

public:
 void RemoveRange(cli::array <System::Security::Policy::ApplicationTrust ^> ^ trusts);
public void RemoveRange (System.Security.Policy.ApplicationTrust[] trusts);
[System.Security.SecurityCritical]
public void RemoveRange (System.Security.Policy.ApplicationTrust[] trusts);
member this.RemoveRange : System.Security.Policy.ApplicationTrust[] -> unit
[<System.Security.SecurityCritical>]
member this.RemoveRange : System.Security.Policy.ApplicationTrust[] -> unit
Public Sub RemoveRange (trusts As ApplicationTrust())

参数

trusts
ApplicationTrust[]

包含要从当前集合中移除的项的 ApplicationTrust 类型的一维数组。

属性

例外

trustsnull

注解

删除对象后面的对象向上移动以占据空置的位置。 所移动对象的索引也会更新。

适用于

RemoveRange(ApplicationTrustCollection)

Source:
ApplicationTrustCollection.cs
Source:
ApplicationTrustCollection.cs
Source:
ApplicationTrustCollection.cs

从集合中移除指定集合中的应用程序信任对象。

public:
 void RemoveRange(System::Security::Policy::ApplicationTrustCollection ^ trusts);
public void RemoveRange (System.Security.Policy.ApplicationTrustCollection trusts);
[System.Security.SecurityCritical]
public void RemoveRange (System.Security.Policy.ApplicationTrustCollection trusts);
member this.RemoveRange : System.Security.Policy.ApplicationTrustCollection -> unit
[<System.Security.SecurityCritical>]
member this.RemoveRange : System.Security.Policy.ApplicationTrustCollection -> unit
Public Sub RemoveRange (trusts As ApplicationTrustCollection)

参数

trusts
ApplicationTrustCollection

一个 ApplicationTrustCollection,包含要从当前集合中移除的项。

属性

例外

trustsnull

注解

删除对象后面的对象向上移动以占据空置的位置。 所移动对象的索引也会更新。

适用于