CreateXRecord Method (IDictionary)

CreateXRecord Method (IDictionary) | Send Feedback
See Also Example

XRecord[out]
  Record in the dictionary (see Remarks)

Name
  Name of the record to create in the dictionary

Creates the specified record in the specified dictionary.

# Syntax

Visual Basic |
--- | ---
    Function CreateXRecord( _
       ByVal Name As System.String _
    ) As XRecord

C# |
--- | ---
    XRecord CreateXRecord(
       System.string Name
    )

JavaScript |
--- | ---
    CreateXRecord(
       Name : String
    ) : dsXRecord

COM native C++ |
--- | ---
    HRESULT CreateXRecord(
       BSTR Name,
       IXRecord** XRecord
    )

C++ |
--- | ---
    DSRESULT CreateXRecord(
       const dsString& Name,
       dsXRecord** XRecord
    )

#### Parameters

Name
  Name of the record to create in the dictionary
XRecord[out] or Return Value
  Record in the dictionary (see Remarks)

# Example

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

# Remarks

If the specified record already exists in the dictionary, then it is not overwritten.

# See Also

####

IDictionary Interface
IDictionary Members
IDictionary::RemoveEntry Method ()

# Availability

DraftSight V1R4.0