GetCustomData Method (IEntityHelper)

GetCustomData Method (IEntityHelper) | Send Feedback
See Also

CustomData[out]
  Custom data

Obj
  Entity

ApplicationName
  Name of the custom data's registered application

Gets the specified custom data for the specified entity.

# Syntax

Visual Basic |
--- | ---
    Function GetCustomData( _
       ByVal Obj As System.Object, _
       ByVal ApplicationName As System.String _
    ) As CustomData

C# |
--- | ---
    CustomData GetCustomData(
       System.object Obj,
       System.string ApplicationName
    )

JavaScript |
--- | ---
    GetCustomData(
       Obj : Object,
       ApplicationName : String
    ) : dsCustomData

COM native C++ |
--- | ---
    HRESULT GetCustomData(
       IDispatch* Obj,
       BSTR ApplicationName,
       ICustomData** CustomData
    )

C++ |
--- | ---
    DSRESULT GetCustomData(
       dsObject* Obj,
       const dsString& ApplicationName,
       dsCustomData** CustomData
    )

#### Parameters

Obj
  Entity
ApplicationName
  Name of the custom data's registered application
CustomData[out] or Return Value
  Custom data

# Remarks

Call IDocument::GetRegisteredApplications to find out the names of the document's existing custom data.

# See Also

####

IEntityHelper Interface
IEntityHelper Members
IEntityHelper::DeleteCustomData Method ()
IEntityHelper::GetHandle Method ()
IEntityHelper::SetCustomData Method ()

# Availability

DraftSight V1R3.0