Share via


ContentListFactory.Schema Property (PIA)

The Schema property is a ContentListSchema object that contains the schema used by this ContentListFactory object. The Schema property is read/write.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Caching
…
Public Property Schema As IContentListSchema

[C#]

using Microsoft.CommerceServer.Interop.Caching;
…
public IContentListSchema Schema {get; set;}

Property Value

An IContentListSchema interface of the ContentListSchema object that contains the schema for this ContentListFactory 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

This property is intended to only be set once. However, until any ContentList object is created using the CreateNewContentList method, or until rows are allocated in the ContentListFactory object by setting the Count property, this property can be changed.

If this property is read before it is written, an empty ContentListSchema object will be created and returned.

See Also

ContentListFactory Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.