StringPrototype.strike(Object) 方法

定義

將指定的物件轉換為以刪除線標記 (Markup) 型態的標記 (Tag) 括住的文字。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

thisob
Object

這個方法執行位置的物件。

傳回

格式 "<STRIKE>"+thisob+"</STRIKE>"的字串。

屬性

適用於

另請參閱