HasEntry Method (IDictionary)

HasEntry Method (IDictionary) | Send Feedback
See Also Example

HasEntry[out]
  True if the dictionary contains an entity with the specified name, false if not

Name
  Name of specified entity

Gets whether the dictionary contains an entity with the specified name.

# Syntax

Visual Basic |
--- | ---
    Function HasEntry( _
       ByVal Name As System.String _
    ) As System.Boolean

C# |
--- | ---
    System.bool HasEntry(
       System.string Name
    )

JavaScript |
--- | ---
    HasEntry(
       Name : String
    ) : Boolean

COM native C++ |
--- | ---
    HRESULT HasEntry(
       BSTR Name,
       VARIANT_BOOL* HasEntry
    )

C++ |
--- | ---
    DSRESULT HasEntry(
       const dsString& Name,
       bool* HasEntry
    )

#### Parameters

Name
  Name of specified entity
HasEntry[out] or Return Value
  True if the dictionary contains an entity with the specified name, false if not

# Example

Create and Remove Dictionaries (C#)
Create and Remove Dictionaries (VB.NET)
Create and Remove Dictionaries (VBA)

# See Also

####

IDictionary Interface
IDictionary Members
IDictionary::GetEntries Method ()
IDictionary::GetEntry Method ()
IDictionary::GetNameOf Method ()
IDictionary::RemoveEntry Method ()
IDictionary::RenameEntry Method ()
IDictionary::SetEntry Method ()

# Availability

DraftSight V1R4.0