StringPrototype Class
TOC
Collapse the table of content
Expand the table of content

StringPrototype Class

 

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

Provides static methods and properties for StringObject objects. All methods of this class are called by passing in a reference to the object that is requesting access to the method. This class belongs to the built-in object model category.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

System.Object
  Microsoft.JScript.ScriptObject
    Microsoft.JScript.JSObject
      Microsoft.JScript.StringObject
        Microsoft.JScript.StringPrototype
          Microsoft.JScript.LenientStringPrototype

public class StringPrototype : StringObject

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticconstructor

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to a prototype-based object that is using this prototype.

System_CAPS_pubpropertyItem[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.)

System_CAPS_pubpropertyItem[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.)

System_CAPS_pubpropertyItem[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.)

System_CAPS_pubpropertyItem[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.)

System_CAPS_pubpropertylength

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the number of characters in the string.(Inherited from StringObject.)

System_CAPS_pubpropertyUnderlyingSystemType

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.)

NameDescription
System_CAPS_pubmethodAddField(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.)

System_CAPS_pubmethodSystem_CAPS_staticanchor(Object, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in anchor tags, and gives the anchor element the specified name attribute.

System_CAPS_pubmethodSystem_CAPS_staticbig(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in bigger text markup tags.

System_CAPS_pubmethodSystem_CAPS_staticblink(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in blink markup tags.

System_CAPS_pubmethodSystem_CAPS_staticbold(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in bold text markup tags.

System_CAPS_pubmethodSystem_CAPS_staticcharAt(Object, Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns the character at the specified position in the specified object.

System_CAPS_pubmethodSystem_CAPS_staticcharCodeAt(Object, Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns the ASCII code of the character at the specified position in the specified object.

System_CAPS_pubmethodSystem_CAPS_staticconcat(Object, Object[])

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

System_CAPS_pubmethodEquals(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether this string and the specified string have the same value.(Inherited from StringObject.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticfixed(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in fixed-width text markup tags.

System_CAPS_pubmethodSystem_CAPS_staticfontcolor(Object, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in font tags, and gives the element the specified color attribute.

System_CAPS_pubmethodSystem_CAPS_staticfontsize(Object, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in font tags, and gives the element the specified size attribute.

System_CAPS_pubmethodGetField(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.)

System_CAPS_pubmethodGetFields(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.)

System_CAPS_pubmethodGetHashCode()

This API supports the product infrastructure and is not intended to be used directly from your code. Returns the hash code for this string.(Inherited from StringObject.)

System_CAPS_pubmethodGetMember(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.)

System_CAPS_pubmethodGetMembers(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.)

System_CAPS_pubmethodGetMethod(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.)

System_CAPS_pubmethodGetMethod(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.)

System_CAPS_pubmethodGetMethods(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.)

System_CAPS_pubmethodGetParent()

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.)

System_CAPS_pubmethodGetProperties(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.)

System_CAPS_pubmethodGetProperty(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.)

System_CAPS_pubmethodGetProperty(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.)

System_CAPS_pubmethodGetType()

This API supports the product infrastructure and is not intended to be used directly from your code. Returns String or StringObject.(Inherited from StringObject.)

System_CAPS_pubmethodSystem_CAPS_staticindexOf(Object, Object, Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Searches for the first occurrence of the specified string in the specified object, starting from the specified character position.

System_CAPS_pubmethodInvokeMember(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 ScriptObject.)

System_CAPS_pubmethodSystem_CAPS_staticitalics(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in italic text markup tags.

System_CAPS_pubmethodSystem_CAPS_staticlastIndexOf(Object, Object, Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Searches for the last occurrence of the specified string in the specified object, starting from the specified character position.

System_CAPS_pubmethodSystem_CAPS_staticlink(Object, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in anchor tags, and gives the anchor element the link target attribute that is specified.

System_CAPS_pubmethodSystem_CAPS_staticlocaleCompare(Object, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Compares the two specified strings and returns an integer that indicates the lexical relationship between them.

System_CAPS_pubmethodSystem_CAPS_staticmatch(Object, VsaEngine, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Runs a search for the specified regular expression pattern on the specified object.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticreplace(Object, Object, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Runs a search for the specified regular expression pattern on the first specified object, and replaces any matches with the third specified object.

System_CAPS_pubmethodSystem_CAPS_staticsearch(Object, VsaEngine, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Runs a search for the specified regular expression pattern on the specified object.

System_CAPS_pubmethodSetMemberValue2(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.)

System_CAPS_pubmethodSystem_CAPS_staticslice(Object, Double, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a new string that contains the specified consecutive characters from the specified string.

System_CAPS_pubmethodSystem_CAPS_staticsmall(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in smaller text markup tags.

System_CAPS_pubmethodSystem_CAPS_staticsplit(Object, VsaEngine, Object, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns an array that contains the substrings in the specified object that are delimited by the specified characters. The number of substrings in the array is constrained by the specified limit.

System_CAPS_pubmethodSystem_CAPS_staticstrike(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in strikethrough markup tags.

System_CAPS_pubmethodSystem_CAPS_staticsub(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in subscript markup tags.

System_CAPS_pubmethodSystem_CAPS_staticsubstr(Object, Double, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a new string that contains the specified number of consecutive characters from the specified string, starting from the specified character position. Use substring instead, if you can.

System_CAPS_pubmethodSystem_CAPS_staticsubstring(Object, Double, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a new string that contains the specified consecutive characters from the specified string.

System_CAPS_pubmethodSystem_CAPS_staticsup(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Converts the specified object to text enclosed in superscript markup tags.

System_CAPS_pubmethodSystem_CAPS_statictoLocaleLowerCase(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a copy of the specified string converted to lowercase, based on the casing rules of CurrentUICulture.

System_CAPS_pubmethodSystem_CAPS_statictoLocaleUpperCase(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a copy of the specified string converted to uppercase, based on the casing rules of CurrentUICulture.

System_CAPS_pubmethodSystem_CAPS_statictoLowerCase(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a copy of the specified string converted to lowercase, based on the casing rules of InvariantCulture.

System_CAPS_pubmethodToString()

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a string that represents the current object.(Inherited from JSObject.)

System_CAPS_pubmethodSystem_CAPS_statictoString(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a string representation of the specified object.

System_CAPS_pubmethodSystem_CAPS_statictoUpperCase(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a copy of the specified string converted to uppercase, based on the casing rules of InvariantCulture.

System_CAPS_pubmethodSystem_CAPS_staticvalueOf(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns the value of the specified object.

NameDescription
System_CAPS_pubfieldengine

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.)

System_CAPS_protfieldfield_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.)

System_CAPS_protfieldparent

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.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.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.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIExpando.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 is not implemented in JScript.(Inherited from JSObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIExpando.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.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIExpando.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.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft