StringPrototype.sup(Object) 方法
定义
将指定对象转换为括在上标标记中的文本。Converts the specified object to text enclosed in superscript markup tags.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
static System::String ^ sup(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_sup)]
public static string sup (object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_sup)>]
static member sup : obj -> string
Public Shared Function sup (thisob As Object) As String
参数
- thisob
- Object
此方法所作用于的对象。The object that this method is acting upon.
返回
格式为 "<SUP>"+
thisob
+"</SUP>"
的字符串。A string in the form "<SUP>"+
thisob
+"</SUP>"
.
- 属性