Redigera

Dela via


WmlMobileTextWriter.WmlFormat.Compare(WmlMobileTextWriter+WmlFormat) Method

Definition

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

format
WmlMobileTextWriter.WmlFormat

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.

Applies to

See also