ApplicationTrustCollection.Item[String] ApplicationTrustCollection.Item[String] ApplicationTrustCollection.Item[String] ApplicationTrustCollection.Item[String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets the ApplicationTrust object located at the specified index in the collection.

Item[String] Item[String] Item[String] Item[String]

Gets the ApplicationTrust object for the specified application.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets the ApplicationTrust object located at the specified index in the collection.

public:
 property System::Security::Policy::ApplicationTrust ^ default[int] { System::Security::Policy::ApplicationTrust ^ get(int index); };
[get: System.Security.SecurityCritical]
public System.Security.Policy.ApplicationTrust this[int index] { get; }
member this.Item(int) : System.Security.Policy.ApplicationTrust
Default Public ReadOnly Property Item(index As Integer) As ApplicationTrust

Parameters

index
Int32 Int32 Int32 Int32

The zero-based index of the object within the collection.

Property Value

The ApplicationTrust object at the specified index in the collection.

Exceptions

index is greater than or equal to the count of objects in the collection.

Remarks

Use this method to get a ApplicationTrust object from the ApplicationTrustCollection at the specified index.

Item[String] Item[String] Item[String] Item[String]

Gets the ApplicationTrust object for the specified application.

public:
 property System::Security::Policy::ApplicationTrust ^ default[System::String ^] { System::Security::Policy::ApplicationTrust ^ get(System::String ^ appFullName); };
[get: System.Security.SecurityCritical]
public System.Security.Policy.ApplicationTrust this[string appFullName] { get; }
member this.Item(string) : System.Security.Policy.ApplicationTrust
Default Public ReadOnly Property Item(appFullName As String) As ApplicationTrust

Parameters

appFullName
String String String String

The full name of the application.

Property Value

The ApplicationTrust object for the specified application, or null if the object cannot be found.

Remarks

The ApplicationIdentity property of each ApplicationTrust object in the collection is examined for a FullName property value that matches the application specified by the appFullName parameter.

Applies to