SetCustomData Method (IAttributeDefinition)

SetCustomData Method (IAttributeDefinition) | Send Feedback
See Also

ApplicationName
  Name of the custom data's registered application (see Remarks)

CustomData
  Custom data

Sets the custom data for the BlockAttribute definition.

# Syntax

Visual Basic |
--- | ---
    Sub SetCustomData( _
       ByVal ApplicationName As System.String, _
       ByVal CustomData As CustomData _
    )

C# |
--- | ---
    void SetCustomData(
       System.string ApplicationName,
       CustomData CustomData
    )

JavaScript |
--- | ---
    SetCustomData(
       ApplicationName : String,
       CustomData : dsCustomData
    )

COM native C++ |
--- | ---
    HRESULT SetCustomData(
       BSTR ApplicationName,
       ICustomData* CustomData
    )

C++ |
--- | ---
    DSRESULT SetCustomData(
       const dsString& ApplicationName,
       dsCustomData* CustomData
    )

#### Parameters

ApplicationName
  Name of the custom data's registered application (see Remarks)
CustomData
  Custom data

# Remarks

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

# See Also

####

IAttributeDefinition Interface
IAttributeDefinition Members
IAttributeDefinition::DeleteCustomData Method
IAttributeDefinition::GetCustomData Method
IAttributeDefinition::Handle Property

# Availability

DraftSight V1R1.2