ObjectPrototype.propertyIsEnumerable(Object, Object) 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定是否可枚举指定对象的指定属性。
此 API 支持产品基础结构,不能在代码中直接使用。
public:
 static bool propertyIsEnumerable(System::Object ^ thisob, System::Object ^ name);[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Object_propertyIsEnumerable)]
public static bool propertyIsEnumerable(object thisob, object name);[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Object_propertyIsEnumerable)>]
static member propertyIsEnumerable : obj * obj -> boolPublic Shared Function propertyIsEnumerable (thisob As Object, name As Object) As Boolean参数
- thisob
- Object
此方法所作用于的对象。
- name
- Object
要测试的属性。
返回
如果 name 是可枚举的属性,则为 true;否则为 false。
- 属性