Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ScriptObject Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Supports all JScript classes. This is the ultimate base class of all JScript classes. This class belongs to the objects and functions category.

Namespace:  Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)
[ComVisibleAttribute(true)]
public abstract class ScriptObject : IReflect

The ScriptObject type exposes the following members.

  NameDescription
Public propertyItem[Double]Gets or sets a member of the script object that is designated by the specified Double index value.
Public propertyItem[Int32]Gets or sets a member of the script object that is designated by the specified Int32 index value.
Public propertyItem[Object[]]Gets or sets a member of the script object that is designated by the specified name, Double index value, or Int32 index value.
Public propertyItem[String]Gets or sets a member of the script object that is designated by the specified name.
Public propertyUnderlyingSystemTypeGets the type of the script object.
Top
  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetFieldGets a field that has the specified name.
Public methodGetFieldsGets an array of FieldInfo objects that correspond to all fields of the current script object.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetMemberWhen overridden in a derived class, gets an array of MemberInfo objects that correspond to all members that match a specified name.
Public methodGetMembersWhen overridden in a derived class, gets an array of MemberInfo objects that correspond to all members of the current script object.
Public methodGetMethod(String, BindingFlags)Gets a method that has the specified name.
Public methodGetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])Gets a method that has the specified name by using the specified selection criteria.
Public methodGetMethodsGets an array of MethodInfo objects that correspond to all methods of the current script object.
Public methodGetParentGets a reference to the parent object.
Public methodGetPropertiesGets an array of PropertyInfo objects that correspond to all properties of the current script object.
Public methodGetProperty(String, BindingFlags)Gets a property that has the specified name.
Public methodGetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])Gets a property that has the specified name by using the specified selection criteria.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInvokeMemberInvokes the specified member.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Protected methodStatic memberWrapMembers(MemberInfo, Object)Creates a wrapped object that contains the specified member together with the specified object.
Protected methodStatic memberWrapMembers(MemberInfo[], Object)Creates an array of wrapped objects that contain the specified members together with the specified object.
Protected methodStatic memberWrapMembers(MemberInfo[], Object, SimpleHashtable)Creates an array of wrapped objects that contain the specified members together with the specified object, caching the results in the specified data storage.
Top
  NameDescription
Public fieldengineStores a reference to the scripting engine.
Protected fieldparentStores a reference to the parent object.
Top

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.