CustomErrorCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the specified CustomError.
Overloads
Item[Int32] |
Gets the CustomError with the specified index. |
Item[String] |
Gets the CustomError with the specified status code. |
Item[Int32]
Gets the CustomError with the specified index.
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
The collection error's index.
Property Value
The CustomError at the specified index.
Applies to
Item[String]
Gets the CustomError with the specified status code.
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
The HTTP status code.
Property Value
The CustomError with the specified status code.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET