Share via


UpdateItems Method (String, String, Object)

Update items from this catalog matching a search clause.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Function UpdateItems ( _
    searchClause As String, _
    propertyName As String, _
    replacementValue As Object _
) As Integer
'Usage
Dim instance As ProductCatalog
Dim searchClause As String
Dim propertyName As String
Dim replacementValue As Object
Dim returnValue As Integer

returnValue = instance.UpdateItems(searchClause, _
    propertyName, replacementValue)
public int UpdateItems(
    string searchClause,
    string propertyName,
    Object replacementValue
)
public:
int UpdateItems(
    String^ searchClause, 
    String^ propertyName, 
    Object^ replacementValue
)
public function UpdateItems(
    searchClause : String, 
    propertyName : String, 
    replacementValue : Object
) : int

Parameters

  • searchClause
    Type: System..::.String
    A search clause specifying the items to update.

Return Value

Type: System..::.Int32
Number of items updated.

Remarks

Updates will only update items with the property specified in their definition.

Permissions

See Also

Reference

ProductCatalog Class

ProductCatalog Members

UpdateItems Overload

Microsoft.CommerceServer.Catalog Namespace