Redigera

Dela via


RegExpConstructor Class

Definition

Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.

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

public ref class RegExpConstructor sealed : Microsoft::JScript::ScriptFunction
public sealed class RegExpConstructor : Microsoft.JScript.ScriptFunction
type RegExpConstructor = class
    inherit ScriptFunction
Public NotInheritable Class RegExpConstructor
Inherits ScriptFunction
Inheritance

Fields

engine

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

Stores a reference to the scripting engine.

(Inherited from ScriptObject)
field_table

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

Stores a list of fields that are dynamically added and removed from the object.

(Inherited from JSObject)
ilength

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

Stores the number of elements that are in the args parameter of the CreateInstance(Object[]) method.

(Inherited from ScriptFunction)
parent

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

Stores a reference to the parent object.

(Inherited from ScriptObject)

Properties

index

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

Gets the index of the last successful match, before advancing the index.

input

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

Gets or sets the input string for a regular expression search.

Item[Double]

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

Gets or sets a member of the script object that is designated by the specified Double index value.

(Inherited from ScriptObject)
Item[Int32]

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

Gets or sets a member of the script object that is designated by the specified Int32 index value.

(Inherited from ScriptObject)
Item[Object[]]

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

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]

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

Gets or sets a member of the script object that is designated by the specified name.

(Inherited from ScriptObject)
lastIndex

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

Gets the index of the last successful match, after advancing the index.

lastMatch

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

Gets a string representation of the last successful match.

lastParen

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

Gets the last Group from the Groups of the last match.

leftContext

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

Gets a substring of the input string between the start of the input and the start of the last successful match.

length

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

Gets or sets the number of elements that are in the args parameter of the CreateInstance(Object[]) method.

(Inherited from ScriptFunction)
prototype

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

Gets or sets the prototype object for this constructor function.

(Inherited from ScriptFunction)
rightContext

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

Gets a substring of the input string between the start of the last successful match and the end of the input.

UnderlyingSystemType

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

Gets the type of the script object.

(Inherited from ScriptObject)

Methods

AddField(String)

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

Adds the specified field to the object.

(Inherited from JSObject)
Construct(String, Boolean, Boolean, Boolean)

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

Creates a new RegExpObject object for the specified regular expression pattern and flags.

CreateInstance(Object[])

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

Creates an instance of the prototype-based object, passing in the specified arguments.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetField(String, BindingFlags)

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

Gets a field that has the specified name.

(Inherited from ScriptObject)
GetFields(BindingFlags)

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

Gets an array of FieldInfo objects that correspond to all fields of the current script object.

(Inherited from ScriptObject)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetMember(String, BindingFlags)

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

Gets an array of MemberInfo objects that correspond to all members that match the specified name.

(Inherited from JSObject)
GetMembers(BindingFlags)

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

Gets an array of MemberInfo objects that correspond to all members of the current script object.

(Inherited from JSObject)
GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])

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

Gets a method that has the specified name by using the specified selection criteria.

(Inherited from ScriptObject)
GetMethod(String, BindingFlags)

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

Gets a method that has the specified name.

(Inherited from ScriptObject)
GetMethods(BindingFlags)

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

Gets an array of MethodInfo objects that correspond to all methods of the current script object.

(Inherited from ScriptObject)
GetParent()

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

Gets a reference to the parent object.

(Inherited from ScriptObject)
GetProperties(BindingFlags)

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

Gets an array of PropertyInfo objects that correspond to all properties of the current script object.

(Inherited from ScriptObject)
GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])

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

Gets a property that has the specified name by using the specified selection criteria.

(Inherited from ScriptObject)
GetProperty(String, BindingFlags)

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

Gets a property that has the specified name.

(Inherited from ScriptObject)
GetPrototypeForConstructedObject()

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

Gets the prototype object for this constructor function.

(Inherited from ScriptFunction)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Invoke(Object, Object[])

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

Invokes a method of the prototype-based object, passing in the specified arguments.

(Inherited from ScriptFunction)
Invoke(Object[])

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

Creates an instance of a prototype-based object, passing in the specified arguments.

InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])

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

Invokes the specified member.

(Inherited from ScriptFunction)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetMemberValue2(String, Object)

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

Sets the value of a field that was dynamically added to the object and stored in field_table.

(Inherited from JSObject)
ToString()

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

Returns a string representation of the constructor function.

(Inherited from ScriptFunction)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

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

Returns an enumerator that iterates through the members of the object.

(Inherited from JSObject)
IExpando.AddMethod(String, Delegate)

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

Adds the specified method to the object. IExpando.AddMethod(String, Delegate) is not implemented in JScript.

(Inherited from JSObject)
IExpando.AddProperty(String)

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

Adds the specified property to the object. This method is not implemented in JScript.

(Inherited from JSObject)
IExpando.RemoveMember(MemberInfo)

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

Removes the specified member from the object.

(Inherited from JSObject)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also