Share via


ShouldSerializeRelations Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets a value indicating whether Relations property should be persisted.

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

Syntax

'Declaration
Protected Overrides Function ShouldSerializeRelations As Boolean
'Usage
Dim returnValue As Boolean

returnValue = Me.ShouldSerializeRelations()
protected override bool ShouldSerializeRelations()
protected:
virtual bool ShouldSerializeRelations() override
protected override function ShouldSerializeRelations() : boolean

Return Value

Type: System..::.Boolean
true if the property value has been changed from its default; otherwise false.

Remarks

The ShouldSerializeRelations method is a method that returns a Boolean value informing the serializer whether a property has changed from its default value.

Permissions

See Also

Reference

CatalogPropertiesDataSet Class

CatalogPropertiesDataSet Members

Microsoft.CommerceServer.Catalog Namespace