Version

UpdatePropertyAtKey Method (IEditableDataSource)

Updates the value of a property in an item that matches the specified.
Syntax
'Declaration
 
Function UpdatePropertyAtKey( _
   ByVal key() As Object, _
   ByVal propertyPath As String, _
   ByVal value As Object, _
   Optional ByVal isPending As Boolean _
) As Integer
int UpdatePropertyAtKey( 
   object[] key,
   string propertyPath,
   object value,
   bool isPending
)

Parameters

key
The primary key value for the item to update.
propertyPath
The property path to update.
value
The value to set on the property.
isPending
Whether this is a pending update that will be accepted later.

Return Value

The ID of the transaction for this update. Primarily used for accepting pending transactions.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also