ShouldSerializeTables Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets a value indicating whether Tables property should be persisted.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Protected Overrides Function ShouldSerializeTables As Boolean
'Usage
Dim returnValue As Boolean
returnValue = Me.ShouldSerializeTables()
protected override bool ShouldSerializeTables()
protected:
virtual bool ShouldSerializeTables() override
protected override function ShouldSerializeTables() : boolean
Return Value
Type: System..::.Boolean
Always return false.
Remarks
The ShouldSerializeTables method is a method that returns a Boolean value informing the serializer whether a property has changed from its default value.
This ShouldSerialize method is provided because the Tables property does not have a simple default value. This method indicates whether the property has changed from its default value. You typically invoke this method if you are either developing a designer for the RegionCodeDataSet or developing your own control incorporating the RegionCodeDataSet.
For more information, see Defining Default Values with the ShouldSerialize and Reset Methods.
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.