SetCustomProperty Method (IDrawingProperties)

SetCustomProperty Method (IDrawingProperties) | Send Feedback
See Also

Key
  Name of custom property whose value to change

Value
  Value for custom property

Changes the value of the specified custom property, which was previously added to this drawing document.

# Syntax

Visual Basic |
--- | ---
    Sub SetCustomProperty( _
       ByVal Key As System.String, _
       ByVal Value As System.String _
    )

C# |
--- | ---
    void SetCustomProperty(
       System.string Key,
       System.string Value
    )

JavaScript |
--- | ---
    SetCustomProperty(
       Key : String,
       Value : String
    )

COM native C++ |
--- | ---
    HRESULT SetCustomProperty(
       BSTR Key,
       BSTR Value
    )

C++ |
--- | ---
    DSRESULT SetCustomProperty(
       const dsString& Key,
       const dsString& Value
    )

#### Parameters

Key
  Name of custom property whose value to change
Value
  Value for custom property

# Example

See the IDrawingProperties examples.

# See Also

####

IDrawingProperties Interface
IDrawingProperties Members
IDrawingProperties::AddCustomProperty Method ()
IDrawingProperties::GetCustomProperty Method ()
IDrawingProperties::GetCustomPropertyAt Method ()
IDrawingProperties::GetCustomPropertyCount Method ()
IDrawingProperties::HasCustomProperty Method ()
IDrawingProperties::RemoveCustomProperty Method ()
IDrawingProperties::RemoveCustomPropertyAt Method ()
IDrawingProperties::SetCustomPropertyAt Method ()

# Availability

DraftSight V1R5.0