Item Property
Gets a PricingRule at a particular index in the CatalogPricingRulesDataSet..::.PricingRulesDataTable.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As CatalogPricingRulesDataSet..::.PricingRule
'Usage
Dim instance As CatalogPricingRulesDataSet..::.PricingRulesDataTable
Dim index As Integer
Dim value As CatalogPricingRulesDataSet..::.PricingRule
value = instance.Item(index)
public CatalogPricingRulesDataSet..::.PricingRule Item[
int index
] { get; }
public:
property CatalogPricingRulesDataSet..::.PricingRule^ Item[int index] {
CatalogPricingRulesDataSet..::.PricingRule^ get (int index);
}
JScript does not support indexed properties.
Parameters
- index
Type: System..::.Int32
The index of the PricingRule object to retrieve.
Property Value
Type: Microsoft.CommerceServer.Catalog..::.CatalogPricingRulesDataSet..::.PricingRule
A PricingRule object in the CatalogPricingRulesDataSet..::.PricingRulesDataTable at the index from the index parameter.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The index parameter is out of range of the DataSet. |
Remarks
Returns the indexed object within the DataSet.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CatalogPricingRulesDataSet..::.PricingRulesDataTable Class
CatalogPricingRulesDataSet..::.PricingRulesDataTable Members