ObjectPrototype.propertyIsEnumerable(Object, Object) Metódus

Definíció

Meghatározza, hogy a megadott objektum megadott tulajdonsága számbavehető-e.

Ez az API a termékinfrastruktúrát támogatja, és közvetlenül a kódból nem használható.

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

Paraméterek

thisob
Object

A metódus által alkalmazott objektum.

name
Object

A tesztelni kívánt tulajdonság.

Válaszok

true ha name számbavehető tulajdonság; ellenkező esetben false.

Attribútumok

A következőre érvényes: