RenameEntry Method (IDictionary)

RenameEntry Method (IDictionary) | Send Feedback
See Also

Result[out]
  True if OldName is changed to NewName, false if not

OldName
  Name of the entity to change

NewName
  Name to which to change OldName

Changes the name of the specified entity in the dictionary.

# Syntax

Visual Basic |
--- | ---
    Function RenameEntry( _
       ByVal OldName As System.String, _
       ByVal NewName As System.String _
    ) As System.Boolean

C# |
--- | ---
    System.bool RenameEntry(
       System.string OldName,
       System.string NewName
    )

JavaScript |
--- | ---
    RenameEntry(
       OldName : String,
       NewName : String
    ) : Boolean

COM native C++ |
--- | ---
    HRESULT RenameEntry(
       BSTR OldName,
       BSTR NewName,
       VARIANT_BOOL* Result
    )

C++ |
--- | ---
    DSRESULT RenameEntry(
       const dsString& OldName,
       const dsString& NewName,
       bool* Result
    )

#### Parameters

OldName
  Name of the entity to change
NewName
  Name to which to change OldName
Result[out] or Return Value
  True if OldName is changed to NewName, false if not

# See Also

####

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

# Availability

DraftSight V1R4.0