TrustLevelCollection.Set Method (Int32, TrustLevel)
.NET Framework (current version)
Adds the specified TrustLevel object to the TrustLevelCollection object at the specified index.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System.Int32
The index location of the TrustLevel to be set within the TrustLevelCollection.
- trustLevel
-
Type:
System.Web.Configuration.TrustLevel
The TrustLevel to be set within the TrustLevelCollection.
The following code example demonstrates how to use the Set method. This code example is part of a larger example provided for the TrustLevelCollection class.
.NET Framework
Available since 2.0
Available since 2.0
Show: