Edit

Share via


WmlMobileTextWriter.WmlLayout.Compare(WmlMobileTextWriter+WmlLayout) Method

Definition

Compares a WmlMobileTextWriter.WmlLayout object to the current WmlMobileTextWriter.WmlLayout object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 virtual bool Compare(System::Web::UI::MobileControls::Adapters::WmlMobileTextWriter::WmlLayout ^ layout);
public virtual bool Compare (System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlLayout layout);
abstract member Compare : System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlLayout -> bool
override this.Compare : System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlLayout -> bool
Public Overridable Function Compare (layout As WmlMobileTextWriter.WmlLayout) As Boolean

Parameters

layout
WmlMobileTextWriter.WmlLayout

The layout object to compare.

Returns

true if the values for Wrap and Align are the same in both layouts; otherwise, false.

Remarks

The Compare method is called internally by the WmlMobileTextWriter class.

Applies to

See also