次の方法で共有


Refresh Method (ProductConfiguration, Boolean)

Reload the object from the web service or database.

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

Syntax

'Declaration
Public Sub Refresh ( _
    config As ProductConfiguration, _
    incrementalRefresh As Boolean _
)
'Usage
Dim instance As Product
Dim config As ProductConfiguration
Dim incrementalRefresh As Boolean

instance.Refresh(config, incrementalRefresh)
public void Refresh(
    ProductConfiguration config,
    bool incrementalRefresh
)
public:
void Refresh(
    ProductConfiguration^ config, 
    bool incrementalRefresh
)
public function Refresh(
    config : ProductConfiguration, 
    incrementalRefresh : boolean
)

Parameters

  • incrementalRefresh
    Type: System..::.Boolean
    true to cause the refresh to merge the current data in the object with the data requested by config. false to cause the data currently held in the object to be replaced by the data requested by config.

Remarks

Refresh the Product. Ensures that the cache is coherent with the current design-time view properties.

Permissions

See Also

Reference

Product Class

Product Members

Refresh Overload

Microsoft.CommerceServer.Catalog Namespace