TrustLevelCollection.Item[] Propiedad

Definición

Obtiene el elemento especificado TrustLevel dentro del TrustLevelCollection objeto .

Sobrecargas

Nombre Description
Item[Int32]

Obtiene o establece el TrustLevel elemento en el índice especificado dentro del TrustLevelCollection objeto .

Item[String]

Obtiene el objeto TrustLevel en el índice especificado.

Item[Int32]

Obtiene o establece el TrustLevel elemento en el índice especificado dentro del TrustLevelCollection objeto .

public:
 property System::Web::Configuration::TrustLevel ^ default[int] { System::Web::Configuration::TrustLevel ^ get(int index); void set(int index, System::Web::Configuration::TrustLevel ^ value); };
public System.Web.Configuration.TrustLevel this[int index] { get; set; }
member this.Item(int) : System.Web.Configuration.TrustLevel with get, set
Default Public Property Item(index As Integer) As TrustLevel

Parámetros

index
Int32

Índice numérico de TrustLevel.

Valor de propiedad

objeto TrustLevel en el índice especificado.

Comentarios

Si existe un TrustLevel objeto en el índice especificado, se quita el TrustLevel objeto y se agrega uno nuevo. Si no existe ningún TrustLevel objeto en el índice, se agrega uno nuevo.

Se aplica a

Item[String]

Obtiene el objeto TrustLevel en el índice especificado.

public:
 property System::Web::Configuration::TrustLevel ^ default[System::String ^] { System::Web::Configuration::TrustLevel ^ get(System::String ^ key); };
public System.Web.Configuration.TrustLevel this[string key] { get; }
member this.Item(string) : System.Web.Configuration.TrustLevel
Default Public ReadOnly Property Item(key As String) As TrustLevel

Parámetros

key
String

Índice de .TrustLevel

Valor de propiedad

que TrustLevel existe en el índice especificado de .TrustLevelCollection

Comentarios

Un TrustLevel objeto debe existir en el índice especificado dentro del TrustLevelCollection objeto .

Se aplica a