CustomErrorCollection.Item[] Propriedade

Definição

Obtém o especificado CustomError.

Sobrecargas

Name Description
Item[Int32]

Obtém-nos CustomError com o índice especificado.

Item[String]

Recebe o CustomError código de estado especificado.

Item[Int32]

Obtém-nos CustomError com o índice especificado.

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

Parâmetros

index
Int32

O índice de erro de cobrança.

Valor de Propriedade

O CustomError no índice especificado.

Aplica-se a

Item[String]

Recebe o CustomError código de estado especificado.

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

Parâmetros

statusCode
String

O código de status HTTP.

Valor de Propriedade

O CustomError com o código de estado especificado.

Aplica-se a