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”。

適用於