ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
DynamicHostObject Class
DynamicHostObject Methods
HasMember Method

# DynamicHostObjectHasMember Method

Determines whether the object has the specified named member.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public virtual bool HasMember(
    	string name,
    	bool ignoreCase
    )

    Public Overridable Function HasMember (
    	name As String,
    	ignoreCase As Boolean
    ) As Boolean

    public:
    virtual bool HasMember(
    	String^ name,
    	bool ignoreCase
    )

    abstract HasMember :
            name : string *
            ignoreCase : bool -> bool
    override HasMember :
            name : string *
            ignoreCase : bool -> bool

#### Parameters

name String
  The member name for which to search.
ignoreCase Boolean
  True to perform a case-insensitive search, false otherwise.

#### Return Value

Boolean
True if the named member was found, false otherwise.
See Also

#### Reference

DynamicHostObject Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft