GetEntry Method (IDictionary)

GetEntry Method (IDictionary) | Send Feedback
See Also Example

Obj[out]
  Entity (see Remarks)

Name
  Name of entity to get

ObjType[out]
  Type of entity as defined in dsObjectType_e

Gets the specified entity and its entity type in the dictionary.

# Syntax

Visual Basic |
--- | ---
    Function GetEntry( _
       ByVal Name As System.String, _
       ByRef ObjType As dsObjectType_e _
    ) As System.Object

C# |
--- | ---
    System.object GetEntry(
       System.string Name,
       out dsObjectType_e ObjType
    )

JavaScript |
--- | ---
    GetEntry(
       Name : String
    ) : {
       ObjType : String,
       Obj : dsObject
    }

COM native C++ |
--- | ---
    HRESULT GetEntry(
       BSTR Name,
       dsObjectType_e* ObjType,
       IDispatch** Obj
    )

C++ |
--- | ---
    DSRESULT GetEntry(
       const dsString& Name,
       dsObjectType_e* ObjType,
       dsObject** Obj
    )

#### Parameters

Name
  Name of entity to get
ObjType[out]
  Type of entity as defined in dsObjectType_e
Obj[out] or Return Value
  Entity (see Remarks)

# Example

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

# Remarks

If the entity is not supported, null or Nothing might be returned.

# See Also

####

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

# Availability

DraftSight V1R4.0