TrustLevelCollection.Item[] Propriedade
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Recebe o item especificado TrustLevel dentro do TrustLevelCollection objeto.
Sobrecargas
| Nome | Descrição |
|---|---|
| Item[Int32] |
Obtém ou define o TrustLevel item no índice especificado dentro do TrustLevelCollection objeto. |
| Item[String] |
Obtém o TrustLevel objeto no índice especificado. |
Item[Int32]
Obtém ou define o TrustLevel item no índice especificado dentro do 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
O índice numérico do TrustLevel.
Valor de Propriedade
A TrustLevel no índice especificado.
Observações
Se existir um TrustLevel objeto no índice especificado, o TrustLevel objeto é removido e um novo é adicionado. Se não existir nenhum TrustLevel objeto no índice, é adicionado um novo.
Aplica-se a
Item[String]
Obtém o TrustLevel objeto no í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
O índice do TrustLevel.
Valor de Propriedade
A TrustLevel que existe no índice especificado do TrustLevelCollection.
Observações
Um TrustLevel objeto deve existir no índice especificado dentro do TrustLevelCollection objeto.