Share via


CustomErrorCollection.Item[] Propiedad

Definición

Obtiene la clase CustomError especificada.

Sobrecargas

Item[Int32]

Obtiene la clase CustomError con el índice especificado.

Item[String]

Obtiene el objeto CustomError con el código de estado especificado.

Item[Int32]

Obtiene la clase CustomError con el í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

Índice del error de la colección.

Valor de propiedad

CustomError

Objeto CustomError en el índice especificado.

Se aplica a

Item[String]

Obtiene el objeto CustomError con el 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

El código de estado HTTP.

Valor de propiedad

CustomError

El objeto CustomError con el código de estado especificado.

Se aplica a