ApplicationTrustCollection Class
Definition
Represents a collection of ApplicationTrust objects. This class cannot be inherited.
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
- Inheritance
-
ApplicationTrustCollection
- Attributes
- Implements
Remarks
ApplicationTrust objects encapsulate security decisions about an application.
Properties
Count |
Gets the number of items contained in the collection. |
IsSynchronized |
Gets a value indicating whether access to the collection is synchronized (thread safe). |
Item[Int32] |
Gets the ApplicationTrust object located at the specified index in the collection. |
Item[String] |
Gets the ApplicationTrust object for the specified application. |
SyncRoot |
Gets an object that can be used to synchronize access to the collection. |
Methods
Add(ApplicationTrust) |
Adds an element to the collection. |
AddRange(ApplicationTrust[]) |
Copies the elements of the specified ApplicationTrust array to the end of the collection. |
AddRange(ApplicationTrustCollection) |
Copies the elements of the specified ApplicationTrustCollection to the end of the collection. |
Clear() |
Removes all the application trusts from the collection. |
CopyTo(ApplicationTrust[], Int32) |
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Find(ApplicationIdentity, ApplicationVersionMatch) |
Gets the application trusts in the collection that match the specified application identity. |
GetEnumerator() |
Returns an object that can be used to iterate over the collection. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
Remove(ApplicationIdentity, ApplicationVersionMatch) |
Removes all application trust objects that match the specified criteria from the collection. |
Remove(ApplicationTrust) |
Removes the specified application trust from the collection. |
RemoveRange(ApplicationTrust[]) |
Removes the application trust objects in the specified array from the collection. |
RemoveRange(ApplicationTrustCollection) |
Removes the application trust objects in the specified collection from the collection. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Explicit Interface Implementations
ICollection.CopyTo(Array, Int32) |
Copies the elements of the ICollection to the specified Array, starting at the specified Array index. |
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through the collection. |
Extension Methods
Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Converts an IEnumerable to an IQueryable. |