TrustLevelCollection.Item Property (Int32)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets the TrustLevel item at the specified index within the TrustLevelCollection object.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public TrustLevel this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32

The numeric index of the TrustLevel.

Property Value

Type: System.Web.Configuration.TrustLevel

A TrustLevel at the specified index.

If a TrustLevel object exists at the specified index, the TrustLevel object is removed and a new one is added. If no TrustLevel object exists at the index, a new one is added.

.NET Framework
Available since 2.0
Return to top
Show: