SetEntry Method (IDictionary)

SetEntry Method (IDictionary) | Send Feedback
See Also

Name
  Name for Obj

Obj
  Entity

Sets the name for the specified entity in the dictionary.

# Syntax

Visual Basic |
--- | ---
    Sub SetEntry( _
       ByVal Name As System.String, _
       ByVal Obj As System.Object _
    )

C# |
--- | ---
    void SetEntry(
       System.string Name,
       System.object Obj
    )

JavaScript |
--- | ---
    SetEntry(
       Name : String,
       Obj : Object
    )

COM native C++ |
--- | ---
    HRESULT SetEntry(
       BSTR Name,
       IDispatch* Obj
    )

C++ |
--- | ---
    DSRESULT SetEntry(
       const dsString& Name,
       dsObject* Obj
    )

#### Parameters

Name
  Name for Obj
Obj
  Entity

# Remarks

If the specified name... | Then...
Exists | The existing name and entity association is replaced with the name and entity association specified in this method.
Does not exist | The specified name and entity association is created.

# See Also

####

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

# Availability

DraftSight V1R4.0