ApplicationTrustCollection 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 ApplicationTrust 对象集合。 此类不能被继承。
public ref class ApplicationTrustCollection sealed : System::Collections::ICollection
	public sealed class ApplicationTrustCollection : System.Collections.ICollection
	[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ApplicationTrustCollection : System.Collections.ICollection
	[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public sealed class ApplicationTrustCollection : System.Collections.ICollection
	type ApplicationTrustCollection = class
    interface ICollection
    interface IEnumerable
	[<System.Runtime.InteropServices.ComVisible(true)>]
type ApplicationTrustCollection = class
    interface ICollection
    interface IEnumerable
	[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
type ApplicationTrustCollection = class
    interface ICollection
    interface IEnumerable
	Public NotInheritable Class ApplicationTrustCollection
Implements ICollection
		- 继承
 - 
				ApplicationTrustCollection
 
- 属性
 
- 实现
 
注解
ApplicationTrust 对象封装有关应用程序的安全决策。
属性
| Count | 
		 获取集合中包含的项数。  | 
        	
| IsSynchronized | 
		 获取一个值,该值指示对集合的访问是否为同步的(线程安全)。  | 
        	
| Item[Int32] | 
		 获取集合中位于指定索引处的 ApplicationTrust 对象。  | 
        	
| Item[String] | 
		 获取指定应用程序的 ApplicationTrust 对象。  | 
        	
| SyncRoot | 
		 获取可用于同步对集合的访问的对象。  | 
        	
方法
| Add(ApplicationTrust) | 
		 将一个元素添加到集合中。  | 
        	
| AddRange(ApplicationTrust[]) | 
		 将指定的 ApplicationTrust 数组的元素复制到集合末尾。  | 
        	
| AddRange(ApplicationTrustCollection) | 
		 将指定的 ApplicationTrustCollection 的元素复制到集合末尾。  | 
        	
| Clear() | 
		 从集合中移除所有应用程序信任。  | 
        	
| CopyTo(ApplicationTrust[], Int32) | 
		 将整个集合复制到从目标数组的指定索引处开始的一个兼容的一维数组。  | 
        	
| Equals(Object) | 
		 确定指定对象是否等于当前对象。 (继承自 Object) | 
        	
| Find(ApplicationIdentity, ApplicationVersionMatch) | 
		 获取集合中与指定应用程序标识匹配的应用程序信任。  | 
        	
| GetEnumerator() | 
		 返回一个可用于循环访问该集合的对象。  | 
        	
| GetHashCode() | 
		 作为默认哈希函数。 (继承自 Object) | 
        	
| GetType() | 
		 获取当前实例的 Type。 (继承自 Object) | 
        	
| MemberwiseClone() | 
		 创建当前 Object 的浅表副本。 (继承自 Object) | 
        	
| Remove(ApplicationIdentity, ApplicationVersionMatch) | 
		 从集合中移除与指定条件匹配的所有应用程序信任对象。  | 
        	
| Remove(ApplicationTrust) | 
		 从集合中移除指定的应用程序信任。  | 
        	
| RemoveRange(ApplicationTrust[]) | 
		 从集合中移除指定数组中的应用程序信任对象。  | 
        	
| RemoveRange(ApplicationTrustCollection) | 
		 从集合中移除指定集合中的应用程序信任对象。  | 
        	
| ToString() | 
		 返回表示当前对象的字符串。 (继承自 Object) | 
        	
显式接口实现
| ICollection.CopyTo(Array, Int32) | 
		 从特定的 ICollection 索引开始,将 Array 的元素复制到指定的 Array 中。  | 
        	
| IEnumerable.GetEnumerator() | 
		 返回一个循环访问集合的枚举器。  | 
        	
扩展方法
| Cast<TResult>(IEnumerable) | 
		 将 IEnumerable 的元素强制转换为指定的类型。  | 
        	
| OfType<TResult>(IEnumerable) | 
		 根据指定类型筛选 IEnumerable 的元素。  | 
        	
| AsParallel(IEnumerable) | 
		 启用查询的并行化。  | 
        	
| AsQueryable(IEnumerable) | 
		 将 IEnumerable 转换为 IQueryable。  |