Share via


UpdateItems Method (String, String, Object, CatalogClassTypes)

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, _
    classTypes As CatalogClassTypes _
) As Integer
'Usage
Dim instance As ProductCatalog
Dim searchClause As String
Dim propertyName As String
Dim replacementValue As Object
Dim classTypes As CatalogClassTypes
Dim returnValue As Integer

returnValue = instance.UpdateItems(searchClause, _
    propertyName, replacementValue, _
    classTypes)
public int UpdateItems(
    string searchClause,
    string propertyName,
    Object replacementValue,
    CatalogClassTypes classTypes
)
public:
int UpdateItems(
    String^ searchClause, 
    String^ propertyName, 
    Object^ replacementValue, 
    CatalogClassTypes classTypes
)
public function UpdateItems(
    searchClause : String, 
    propertyName : String, 
    replacementValue : Object, 
    classTypes : CatalogClassTypes
) : 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