TrustLevelCollection.Item[] Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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 .