WmlMobileTextWriter.WmlFormat.Compare(WmlMobileTextWriter+WmlFormat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares a WmlMobileTextWriter.WmlFormat object to the current WmlMobileTextWriter.WmlFormat 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::WmlFormat ^ format);
public virtual bool Compare (System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat format);
abstract member Compare : System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat -> bool
override this.Compare : System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlFormat -> bool
Public Overridable Function Compare (format As WmlMobileTextWriter.WmlFormat) As Boolean
Parameters
The format object to compare.
Returns
true
if the Bold, Italic, and Size properties have the same values in both WmlMobileTextWriter.WmlFormat objects; otherwise, false
.
Remarks
The Compare method is called internally by the WmlMobileTextWriter class.