CustomErrorCollection.Item[] Eigenschap

Definitie

Hiermee wordt de opgegeven CustomError.

Overloads

Name Description
Item[Int32]

Hiermee haalt u de CustomError opgegeven index op.

Item[String]

Hiermee haalt u de CustomError met de opgegeven statuscode op.

Item[Int32]

Hiermee haalt u de CustomError opgegeven index op.

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

Parameters

index
Int32

De index van de verzamelingsfout.

Waarde van eigenschap

De CustomError opgegeven index.

Van toepassing op

Item[String]

Hiermee haalt u de CustomError met de opgegeven statuscode op.

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

Parameters

statusCode
String

De HTTP-statuscode.

Waarde van eigenschap

De CustomError met de opgegeven statuscode.

Van toepassing op