Muokkaa

Jaa


ObjectPrototype.propertyIsEnumerable(Object, Object) Method

Definition

Determines whether the specified property of the specified object is enumerable.

This API supports the product infrastructure and is not intended to be used directly from your code.

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 -> bool
Public Shared Function propertyIsEnumerable (thisob As Object, name As Object) As Boolean

Parameters

thisob
Object

The object that this method is acting upon.

name
Object

The property to test.

Returns

true if name is an enumerable property; otherwise, false.

Attributes

Applies to