Share via


Convert.IsBadIndex(AST) 方法

定義

判斷變數是否含有陣列索引值。

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

public:
 static bool IsBadIndex(Microsoft::JScript::AST ^ ast);
public static bool IsBadIndex (Microsoft.JScript.AST ast);
static member IsBadIndex : Microsoft.JScript.AST -> bool
Public Shared Function IsBadIndex (ast As AST) As Boolean

參數

ast
AST

要測試的變數。

傳回

如果 ast 包含陣列索引值,則為 true,否則為 false

適用於