ReferenceErrorObject Class
.NET Framework 4.5
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents a reference error. For example, a reference error can occur when you reference an undeclared variable.
System.Object
Microsoft.JScript.ScriptObject
Microsoft.JScript.JSObject
Microsoft.JScript.ErrorObject
Microsoft.JScript.ReferenceErrorObject
Microsoft.JScript.ScriptObject
Microsoft.JScript.JSObject
Microsoft.JScript.ErrorObject
Microsoft.JScript.ReferenceErrorObject
Namespace: Microsoft.JScript
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
The ReferenceErrorObject type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Item[Double] | Gets or sets a member of the script object that is designated by the specified Double index value. (Inherited from ScriptObject.) |
![]() | Item[Int32] | Gets or sets a member of the script object that is designated by the specified Int32 index value. (Inherited from ScriptObject.) |
![]() | Item[Object[]] | Gets or sets a member of the script object that is designated by the specified name, Double index value, or Int32 index value. (Inherited from ScriptObject.) |
![]() | Item[String] | Gets or sets a member of the script object that is designated by the specified name. (Inherited from ScriptObject.) |
![]() | UnderlyingSystemType | Gets the type of the script object. (Inherited from ScriptObject.) |
| Name | Description | |
|---|---|---|
![]() | AddField | Adds the specified field to the object. (Inherited from JSObject.) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetField | Gets a field that has the specified name. (Inherited from ScriptObject.) |
![]() | GetFields | Gets an array of FieldInfo objects that correspond to all fields of the current script object. (Inherited from ScriptObject.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetMember | Gets an array of MemberInfo objects that correspond to all members that match the specified name. (Inherited from JSObject.) |
![]() | GetMembers | Gets an array of MemberInfo objects that correspond to all members of the current script object. (Inherited from JSObject.) |
![]() | GetMethod(String, BindingFlags) | Gets a method that has the specified name. (Inherited from ScriptObject.) |
![]() | GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) | Gets a method that has the specified name by using the specified selection criteria. (Inherited from ScriptObject.) |
![]() | GetMethods | Gets an array of MethodInfo objects that correspond to all methods of the current script object. (Inherited from ScriptObject.) |
![]() | GetParent | Gets a reference to the parent object. (Inherited from ScriptObject.) |
![]() | GetProperties | Gets an array of PropertyInfo objects that correspond to all properties of the current script object. (Inherited from ScriptObject.) |
![]() | GetProperty(String, BindingFlags) | Gets a property that has the specified name. (Inherited from ScriptObject.) |
![]() | GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) | Gets a property that has the specified name by using the specified selection criteria. (Inherited from ScriptObject.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InvokeMember | Invokes the specified member. (Inherited from ScriptObject.) |
![]() | SetMemberValue2 | Sets the value of a field that was dynamically added to the object and stored in field_table. (Inherited from JSObject.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from JSObject.) |
| Name | Description | |
|---|---|---|
![]() | description | Specifies the message that explains the reason for the error. (Inherited from ErrorObject.) |
![]() | engine | Stores a reference to the scripting engine. (Inherited from ScriptObject.) |
![]() | message | Specifies the message that explains the reason for the error. (Inherited from ErrorObject.) |
![]() | number | Specifies a number or code for the error. (Inherited from ErrorObject.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable.GetEnumerator | Returns an enumerator that iterates through the members of the object. (Inherited from JSObject.) |
![]() ![]() | IExpando.AddMethod | Adds the specified method to the object. IExpando.AddMethod is not implemented in JScript. (Inherited from JSObject.) |
![]() ![]() | IExpando.AddProperty | Adds the specified property to the object. This method is not implemented in JScript. (Inherited from JSObject.) |
![]() ![]() | IExpando.RemoveMember | Removes the specified member from the object. (Inherited from JSObject.) |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
