StringPrototype.anchor(Object, Object) Método

Definición

Convierte el objeto especificado en texto entre etiquetas delimitadoras y asigna al elemento de delimitación el atributo de nombre especificado.

Esta API admite la infraestructura de producto y no está pensada para usarse directamente en el código.

public:
 static System::String ^ anchor(System::Object ^ thisob, System::Object ^ anchorName);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_anchor)]
public static string anchor (object thisob, object anchorName);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_anchor)>]
static member anchor : obj * obj -> string
Public Shared Function anchor (thisob As Object, anchorName As Object) As String

Parámetros

thisob
Object

Objeto en el que actúa este método.

anchorName
Object

Atributo de nombre del elemento de delimitación.

Devoluciones

Cadena con el formato "<A NAME=""++"</A>"anchorName+"">"+thisob.

Atributos

Se aplica a

Consulte también