Class ErrorCodeAttribute
This attribute describes error code. Used for converting error messages from and to string.
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records.Formula
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class ErrorCodeAttribute : Attribute
Constructors
ErrorCodeAttribute(string, int)
Creates attribute for error with specified string value and error code.
Declaration
public ErrorCodeAttribute(string stringValue, int errorCode)
Parameters
| Type | Name | Description |
|---|---|---|
| string | stringValue | String representation of the error. |
| int | errorCode | Error code. |
Properties
ErrorCode
Declaration
public int ErrorCode { get; }
Property Value
| Type |
|---|
| int |
StringValue
Declaration
public string StringValue { get; }
Property Value
| Type |
|---|
| string |