SDK - Updating Properties Using SetProperty

  • KM510825
  • 20-Sep-2008
  • 20-Sep-2008

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.

Reference

Return to Updating Records

Updating Properties Using SetProperty

To update a record’s properties where the internal identifier of the property is known (see Property Ids), you can use the SetProperty method. This requires passing the property identifier and a variant containing the data value.

Visual Basic Example:

' Set the title (property id=3)
Call objRecord.SetProperty(3, "Barrier Reef manatee population figures")

C# Example:

// Set the title (property id=3)
objRecord.SetProperty(3, "Barrier Reef manatee population figures");