StringPrototype.strike(Object) 方法
定义
将指定对象转换为括在删除线标记中的文本。Converts the specified object to text enclosed in strikethrough markup tags.
此 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
此方法所作用于的对象。The object that this method is acting upon.
返回
格式为 "<STRIKE>"+thisob+"</STRIKE>" 的字符串。A string in the form "<STRIKE>"+thisob+"</STRIKE>".
- 属性