Editare

Partajați prin


StringPrototype Class

Definition

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.

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

public ref class StringPrototype : Microsoft::JScript::StringObject
public class StringPrototype : Microsoft.JScript.StringObject
type StringPrototype = class
    inherit StringObject
Public Class StringPrototype
Inherits StringObject
Inheritance
Derived

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

constructor

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.

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

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

big(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.

blink(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.

bold(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.

charAt(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.

charCodeAt(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.

concat(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.

Equals(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)
fixed(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.

fontcolor(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.

fontsize(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.

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

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)
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)
GetType()

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

Returns String or StringObject.

(Inherited from StringObject)
indexOf(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.

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

lastIndexOf(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.

link(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.

localeCompare(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.

match(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.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
replace(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.

search(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.

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

small(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.

split(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.

strike(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.

sub(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.

substr(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(Object, Double, Object) instead, if you can.

substring(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.

sup(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.

toLocaleLowerCase(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.

toLocaleUpperCase(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.

toLowerCase(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.

ToString()

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

toUpperCase(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.

valueOf(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.

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