Bahasa

CustomErrorCollection.Item[] Properti

Definisi

Mendapatkan yang ditentukan CustomError.

Overload

Nama Deskripsi
Item[Int32]

CustomError Mendapatkan dengan indeks yang ditentukan.

Item[String]

CustomError Mendapatkan dengan kode status yang ditentukan.

Item[Int32]

CustomError Mendapatkan dengan indeks yang ditentukan.

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

Parameter

index
Int32

Indeks kesalahan koleksi.

Nilai Properti

pada CustomError indeks yang ditentukan.

Berlaku untuk

Item[String]

CustomError Mendapatkan dengan kode status yang ditentukan.

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

Parameter

statusCode
String

Kode Status HTTP.

Nilai Properti

CustomError dengan kode status yang ditentukan.

Berlaku untuk