StringPrototype.anchor(Object, Object) Methode

Definitie

Converteert het opgegeven object naar tekst tussen ankertags en geeft het ankerelement het opgegeven naamkenmerk.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

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

Parameters

thisob
Object

Het object waarop deze methode handelt.

anchorName
Object

Het naamkenmerk van het ankerelement.

Retouren

Een tekenreeks in het formulier"<A NAME=""++"</A>"anchorName+"">"+thisob.

Kenmerken

Van toepassing op

Zie ook