JSObject Methods
.NET Framework 4
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The JSObject type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddField | Adds the specified field to the object. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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. (Overrides ScriptObject.GetMember(String, BindingFlags).) |
|
GetMembers | Gets an array of MemberInfo objects that correspond to all members of the current script object. (Overrides ScriptObject.GetMembers(BindingFlags).) |
|
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.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
SetMemberValue2 | Sets the value of a field that was dynamically added to the object and stored in field_table. |
|
ToString | Returns a string that represents the current object. (Overrides Object.ToString().) |
| Name | Description | |
|---|---|---|
|
AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
|
IEnumerable.GetEnumerator | Returns an enumerator that iterates through the members of the object. |
|
IExpando.AddMethod | Adds the specified method to the object. IExpando.AddMethod is not implemented in JScript. |
|
IExpando.AddProperty | Adds the specified property to the object. This method is not implemented in JScript. |
|
IExpando.RemoveMember | Removes the specified member from the object. |