Share via


ContentListFactory.Fields Property (PIA)

The Fields property creates a new Fields object that allows access to the fields for a specified content item. The Fields property is read-only; however, the Fields object is read/write in that changes made using this object are reflected in the ContentListFactory object.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Caching
Imports ADODB26Lib     ‘ for Fields
…
Public ReadOnly Property Fields(RowNum As Integer) As Fields

[C#]

using Microsoft.CommerceServer.Interop.Caching;
using ADODB26Lib;                              //For _Fields
…
public Fields get_Fields(intRowNum);

Parameters

[Visual Basic .NET]

  • RowNum
    An Integer that contains the position of the item in the ContentListFactory object for which a Fields object will be returned. Positions are counted from 0, not from 1.

[C#]

  • RowNum
    An int that contains the position of the item in the ContentListFactory object for which a Fields object will be returned. Positions are counted from 0, not from 1.

Return Values

This method return a Fields object.

Exceptions

This property may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

The Fields object exposes the same interface as the ADO Fields object.

This property is functionally identical to the one of the same name to be found in the ContentList object.

See Also

ContentListFactory Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.