JSObject.GetTypeOfProperty(String) 方法

定义

返回 typeof() 属性。

public:
 System::String ^ GetTypeOfProperty(System::String ^ propertyName);
public string GetTypeOfProperty (string propertyName);
member this.GetTypeOfProperty : string -> string
Public Function GetTypeOfProperty (propertyName As String) As String

参数

propertyName
String

属性的名称。

返回

“undefined”、“object”、“boolean”、“number”、“bigint”、“string”、“symbol”或“function”之一。

适用于